Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 34
Default Enable Macros

Is the a Way to enable macros with a macro?

I know that security will not let you, but I need to send a File with a
message box to that will explain how to fill out the spread sheet and don't
want to go to each of the explaining how to enable macros.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 983
Default Enable Macros

Send out a worksheet with an on_open macro. There should be one sheet in the
spreadsheet with instructions how to enable macros and one sheet letting them
know that there macros are enabled.

The Instructions sheet shoul be visble. The on Open macro just makes the
sheet hidden. When the user open the spreadhsst they either get a sheet
telling them how to enable macros or a sheet telling them that their machine
is set up correctly...

HTH

"MESTRELLA29" wrote:

Is the a Way to enable macros with a macro?

I know that security will not let you, but I need to send a File with a
message box to that will explain how to fill out the spread sheet and don't
want to go to each of the explaining how to enable macros.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Enable Macros

No, because if macros are not enabled, the enabling macro won't run.

The standard way to approach this is as follows.
- create a worksheet with a message on explaining that for this workbook to
run it needs macros enabled, maybe even a few screenshots
- hide all other worksheets]
- add some code in the Workbook_Open event that un hides the other sheets,
but hides that sheet.

What happens is that if they do not enable macros, they will only see the
warning sheet, telling them how to do it. If the enable macros, it will
startup as the workbook it should be.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"MESTRELLA29" wrote in message
...
Is the a Way to enable macros with a macro?

I know that security will not let you, but I need to send a File with a
message box to that will explain how to fill out the spread sheet and

don't
want to go to each of the explaining how to enable macros.




Reply
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
ENABLE MACROS CarolAn Excel Discussion (Misc queries) 2 August 4th 09 07:21 PM
Enable Macros ExcelBob Excel Discussion (Misc queries) 2 May 26th 06 02:40 PM
can not enable macros Tricia Excel Worksheet Functions 2 August 24th 05 11:18 PM
Enable Macros Ronbo Excel Programming 3 May 24th 04 06:32 AM
Suppress the Disable Macros / Enable Macros Dialog Shoji Karai Excel Programming 5 September 24th 03 03:10 AM


All times are GMT +1. The time now is 01:31 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"