LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 37
Default Disable selection on a new workbook remotely?

I need a macro that is able to prevent users from selecting cells in my
workbooks. I can accomplish this in the workbook that contains my macro
with a worksheet open event:
ThisWorkbook.Sheets("Form").EnableSelection = xlNoSelection

However, my macro is creating other workbooks that I'd like to have the
same protection on. Is there a way to place a worksheet open event for
disabling selections into a new workbook that I create?

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Run code remotely Steph[_3_] Excel Programming 8 March 29th 05 03:38 PM
need code for disable selection of locked cells David Lewis[_3_] Excel Programming 4 January 10th 05 04:09 PM
Disable menu selection andy Excel Discussion (Misc queries) 3 December 10th 04 10:46 PM
VBA - Run Macros Remotely? jordanctc[_24_] Excel Programming 1 October 14th 04 11:12 AM
Disable selection of shapes Mike Excel Programming 3 December 17th 03 01:43 PM


All times are GMT +1. The time now is 11:15 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"