Code Help to unhide a Tab

G

Guest

Hello

I need some help writing some code. Basically I would like to unhide a
single tab in a tab group based on the value in a drop down, i.e if drop down
is equal to x then unhide tab.

Cheers
Aidan
 
G

Guest

Every TAB has a name, so try

Me.[TabPageName].Visible = (Me.[ComboName] = x)

Use this code on the after update event of the combo, and in the OnCurrent
event of the form.
 
G

Guest

Thanks that worked famstically!!

Aidan

Ofer Cohen said:
Every TAB has a name, so try

Me.[TabPageName].Visible = (Me.[ComboName] = x)

Use this code on the after update event of the combo, and in the OnCurrent
event of the form.

--
Good Luck
BS"D


Aidan said:
Hello

I need some help writing some code. Basically I would like to unhide a
single tab in a tab group based on the value in a drop down, i.e if drop down
is equal to x then unhide tab.

Cheers
Aidan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top