Help with VBA Form sizing

peter_z

Board Regular
Joined
Feb 27, 2011
Messages
87
Hey guys

If you have any code that could help me out of this tricky situation it would be much appreciated and it would make my Friday! :)

I have a form in vba with two tabs.
Both the tabs are different sizes.

The first tab is quite large and the 2nd tab is smaller.

When I click the 2nd tab it shrinks the form but then when I click back to the first form it makes it the same size and the 2nd tab and cutting out key info.

Is there anyway I can resize the 1st tab again to go back to its original size?

Thanks heaps for your help :)
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Do you mean a tabstrip control on a userform?

They can't have tabs of different sizes.
 
Upvote 0
Hi Norie, it is the tabstrip.

If you know how to refer to the tabstrip it might solve my problem.

Cheers!
 
Upvote 0
Not sure what you mean about referring to the tabstrip.

However I think I know what might be happening.

The tabs appear to change size based on the controls associated with them.

I'll need to check that out though.

In the meantime why not try a multitab instead of a tabstrip.
 
Upvote 0

Forum statistics

Threads
1,224,505
Messages
6,179,151
Members
452,891
Latest member
JUSTOUTOFMYREACH

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top