Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
don't let the user disable macro's in Excel
Hi
I've made an Excel workbook with a lot of protection in it ActiveSheet.EnableSelection = xlUnlockedCells doens't work when I use this code in VBA (Access) But when I use it in Excel, it works How can I disable the selection of excel cells in VBA code that creates an Excel sheet thanks a lo Filip |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
don't let the user disable macro's in Excel
Hi
try ActiveSheet.EnableSelection = 1 If you use this from Access the defined constant xlUnlockedCells is not known -- Regards Frank Kabel Frankfurt, Germany Filip De Backer wrote: Hi, I've made an Excel workbook with a lot of protection in it. ActiveSheet.EnableSelection = xlUnlockedCells doens't work when I use this code in VBA (Access). But when I use it in Excel, it works. How can I disable the selection of excel cells in VBA code that creates an Excel sheet? thanks a lot Filip |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Automatically disable macro's on new doc | Excel Discussion (Misc queries) | |||
Allow user to disable automatic hyperlink generation in Excel. | Excel Discussion (Misc queries) | |||
Disable AutoOpen macro's | Excel Programming | |||
enable/disable macro's dialog? | Excel Programming |