Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 37
Default stop enable macro message

I have a large user form. Once the user fills it out a
macro gathers the information on two sheets and emails
those two sheets with a new filename. The new emailed file
contains no macros but when the recipient opens it they
are still faced with the "This workbook contains
macros..." promt.

Is there something I can add to the code that copies and
sends my two sheets to stop this message?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 43
Default stop enable macro message

You could try moving all of the macros out of the module
section and write them into a worksheet. Then if the last
thing you do is delete that worksheet this will remove the
macros from the workbook. Alternatively you can create a
new workbook and copy the data into the sheets and this
will also not have any macros in it.

(if there is code behind your form this is a macro)

hope this is close to answering your question
Jase
-----Original Message-----
I have a large user form. Once the user fills it out a
macro gathers the information on two sheets and emails
those two sheets with a new filename. The new emailed

file
contains no macros but when the recipient opens it they
are still faced with the "This workbook contains
macros..." promt.

Is there something I can add to the code that copies and
sends my two sheets to stop this message?

Thanks
.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 550
Default stop enable macro message

Dave,

Obviously there's some code embedded somewhere on one
of the sheets that you're sending.
If you want to find out what's there, have them e-mail one of
the sheets back to you and search for the code. Could be
a leftover module or userform, the workbook, or one of the sheets.

Something that you might want to try if you're e-mailing
sheets is Ron de Bruin's Add-In. That and more than you
ever wanted to know about e-mailing from Excel can be found he
http://www.rondebruin.nl/sendmail.htm

John

"Dave" wrote in message
...
I have a large user form. Once the user fills it out a
macro gathers the information on two sheets and emails
those two sheets with a new filename. The new emailed file
contains no macros but when the recipient opens it they
are still faced with the "This workbook contains
macros..." promt.

Is there something I can add to the code that copies and
sends my two sheets to stop this message?

Thanks



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
stop error message when opening a non existant file in a macro swar phil Excel Discussion (Misc queries) 1 March 22nd 10 02:35 PM
Enable Macro message ub Excel Worksheet Functions 2 August 8th 08 03:37 PM
Disable/Enable Macros Message box in Excel2007 Vignesh Excel Discussion (Misc queries) 0 February 6th 08 09:00 AM
how to get around the Enable Macro security message? cfman Excel Discussion (Misc queries) 5 March 4th 07 03:59 PM
How do I stop Excel from prompting to enable or disable macros? ARSmythe Excel Discussion (Misc queries) 4 January 12th 05 01:07 PM


All times are GMT +1. The time now is 05:46 AM.

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

About Us

"It's about Microsoft Excel"