Hy, I want to hide all the multipages on a given part of the macro, so i can show later only the needed tab later.
I work with 8 tab currently but i never need to show them all on the same moment.
This is my code at this moment:
The problem:
This is really slow, i mean it is take a few second to do this in my UserForm.
The Userform has tons of textboxes and other controls.
My experience is when i hide the pages on two steps the code is running relatively faster.
So this is faster:
than this:
Is there any other method to do this?
Thanks!
I work with 8 tab currently but i never need to show them all on the same moment.
This is my code at this moment:
Code:
For i = 0 To 7
MultiPage1.Pages(i).Visible = False
Next i
The problem:
This is really slow, i mean it is take a few second to do this in my UserForm.
The Userform has tons of textboxes and other controls.
My experience is when i hide the pages on two steps the code is running relatively faster.
So this is faster:
Code:
For i = 1 To 7
MultiPage1.Pages(i).Visible = False
Next i
MultiPage1.Pages(0).Visible = False
than this:
Code:
For i = 0 To 7
MultiPage1.Pages(i).Visible = False
Next i
Is there any other method to do this?
Thanks!
Last edited: