Thread: Pre-Open VBA
View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
[email protected] aidan.heritage@virgin.net is offline
external usenet poster
 
Posts: 244
Default Pre-Open VBA

You cannot get round the macro security (otherwise it would be
pointless it being there) but you CAN stop people doing anything
without the macros - I would have ONE visible sheet which had a large
note on it about the macros. I would have the rest of the sheets set
to VERY HIDDEN and have the open event of the workbook unhide/hide the
appropriate sheets - with the close event of the workbook doing the
opposite.

SamuelT wrote:
Hi all,

I've got a spreadsheet that has a number of macros that are essential
to the running of the document. However, I've noticed that when some
people use the document they're are opting to not run macros when
questioned on opening the file.

Is there a means of either a) having a window saying something like
'You must run macros to use this spreadsheet' that comes up before the
Excel 'run macros' prompt; or b) run the macros automatically and do
away with the pre-open prompt.

Any suggestions appreciated.

TIA,

SamuelT


--
SamuelT
------------------------------------------------------------------------
SamuelT's Profile: http://www.excelforum.com/member.php...o&userid=27501
View this thread: http://www.excelforum.com/showthread...hreadid=552165