Code Help to unhide a Tab

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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.
 
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
 
Back
Top