D
Dale Fye
The problem seems to go beyond my previous post about the "state" not
changing. Actually, the stat is changing, it is just not being displayed in
the popup menu; and it gets more intriguing. I have two lines of code that
either enable or disable two of my CommandBarButtons based on the value of a
multipage control.
Application.CommandBars.FindControl(Tag:="FilePrintCapability").Enabled =
(intTabNum = 0)
Application.CommandBars.FindControl(Tag:="FilePrintGap").Enabled =
(intTabNum = 1)
These two lines of code should be enabling one button and disabling another,
but are doing nothing. The Enabled property of these buttons is staying as
True regardless of the value of intTabNum.
Any help would be greatly appreciated.
Dale
changing. Actually, the stat is changing, it is just not being displayed in
the popup menu; and it gets more intriguing. I have two lines of code that
either enable or disable two of my CommandBarButtons based on the value of a
multipage control.
Application.CommandBars.FindControl(Tag:="FilePrintCapability").Enabled =
(intTabNum = 0)
Application.CommandBars.FindControl(Tag:="FilePrintGap").Enabled =
(intTabNum = 1)
These two lines of code should be enabling one button and disabling another,
but are doing nothing. The Enabled property of these buttons is staying as
True regardless of the value of intTabNum.
Any help would be greatly appreciated.
Dale