Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
Can someone tell me how to disable Visual Basic Editor in Excel file, I think it would be helpful to avoid users going into the VB editor enviroment by press Ctrl+Break accidently. Thanks very much. Rgds Shu |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Insert this line
application.EnableCancelKey =xlDisabled at the start of your code or in the workbook_open event handler OR Protect your code with a password. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks a lot. This works.
Rgds Shu -----Original Message----- Insert this line: application.EnableCancelKey =xlDisabled at the start of your code or in the workbook_open event handler. OR: Protect your code with a password. . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Visual Basic Editor | Excel Discussion (Misc queries) | |||
Protecting Code in Visual Basic Editor (Excel 2003) | Excel Worksheet Functions | |||
Password in Visual basic editor | Excel Worksheet Functions | |||
Visual basic editor | Excel Discussion (Misc queries) | |||
Visual Basic editor terminates Excel 2003 | Excel Programming |