A
akphidelt
Hi, im running in to a little problem that I can't find a solution for.
I have built a custom menu bar that has the items that I want for my
application.
However, I want some of the items to be disabled whenever the application
starts up and enabled when a user enters the correct password information.
For some reason I can't figure out how to disable them at startup. I can do
it through the Immediate Window when testing. Here is an example
Application.CommandBars("POD").Controls("Reports").Enabled = False
Now that works and disables the Reports command but then when someone types
in the correct password and enables it the command remains enabled on the
next startup.
Does anyone have an idea on how to do this?
I have built a custom menu bar that has the items that I want for my
application.
However, I want some of the items to be disabled whenever the application
starts up and enabled when a user enters the correct password information.
For some reason I can't figure out how to disable them at startup. I can do
it through the Immediate Window when testing. Here is an example
Application.CommandBars("POD").Controls("Reports").Enabled = False
Now that works and disables the Reports command but then when someone types
in the correct password and enables it the command remains enabled on the
next startup.
Does anyone have an idea on how to do this?