Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Preventing Customization
Hi, Refers to Microsoft Excel 2000. Within my VBA Code I am using the following to disable th CommandBars: 'Ensure the user cannot access any of the Toolbars For Each bar In Application.CommandBars bar.Visible = False Next However the user, when in Excel can right click and choos Customization and put the CommandBars back. Is there any way I ca prevent this happening. TIA Mar -- msippit ----------------------------------------------------------------------- msippitt's Profile: http://www.excelforum.com/member.php...fo&userid=1639 View this thread: http://www.excelforum.com/showthread.php?threadid=27765 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Preventing Customization
I'm NO fan of tampering with the users UI. But if you have to: use enabled property not the visible property. it'll achieve what you want AND you can simply enable all commandbars at the end of your code. (the user gets his original toolbars back ,with correct positions and correct visibility) -- keepITcool | www.XLsupport.com | keepITcool chello nl | amsterdam msippitt wrote : Hi, Refers to Microsoft Excel 2000. Within my VBA Code I am using the following to disable the CommandBars: 'Ensure the user cannot access any of the Toolbars For Each bar In Application.CommandBars bar.Visible = False Next However the user, when in Excel can right click and choose Customization and put the CommandBars back. Is there any way I can prevent this happening. TIA Mark |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
QAT does not allow enough room for customization - please help | Excel Discussion (Misc queries) | |||
Advanced customization of charts? | Excel Discussion (Misc queries) | |||
Preserving customization | Setting up and Configuration of Excel | |||
Toolbar customization | Excel Programming | |||
Toolbar customization | Excel Programming |