Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hello everyone. I have a worksheet that opens a simple userform when the file is opene with 2 command buttons (bOwner and bUser). It checks to see who ha opened the file (Application.UserName), looks up the persons ID in list to determine if they are an owner or a user of the file. If th person is not an owner, then the Owner button is disable (bOwner.Enabled = False). Each button has vba attached to hide or sho certain sheets in the file. I have disabled the "X" This part work fine. My question is, there are some people that will try to click th "Owner" button even though it has been disabled. Can I have a messag box appear that tells them they have to choose the other button (eve though this one is disabled)? TIA Cande -- Cande ----------------------------------------------------------------------- Candee's Profile: http://www.excelforum.com/member.php...info&userid=63 View this thread: http://www.excelforum.com/showthread.php?threadid=48358 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
command button sub | Excel Discussion (Misc queries) | |||
command button add another command | Excel Discussion (Misc queries) | |||
command button | Excel Discussion (Misc queries) | |||
Command Button vs Control Button | Excel Programming | |||
Command Button vs Form Button | Excel Programming |