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: 68
Default Auto Open file to run Mail macro

I've created a spreadsheet and macro - using the excellent info provided by
Ron de Bruin on his website - to automatically send an email message to
various recipients on dates which are calculated on the spreadsheet.

The next step is to set this up so the file opens every day, the macro runs
and generates emails if appropriate then closes the file.

I thought of doing something like putting the file in the Start menu, naming
the macro Auto_Open and adding some code at the end of the macro to close the
file.

However, I'm concerned that on days a message is due to be sent this could
happen as many times as the computer is booted up plus if the user (not me)
needs to change the dates on the sheet opening the file would run the macro
(and possibly re-send mails) again.

I would be grateful for any suggestions as to how to achieve what I want and
how best to code it.

Many thanks in anticipation


 
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
how can i open an e mail with attached file that ends with xls ganymede New Users to Excel 1 March 26th 09 02:24 PM
How to auto activate macro when file open ? bonzio Excel Worksheet Functions 1 December 16th 05 02:45 PM
Macro to call a file that has a auto open macro in the file itself [email protected] Excel Programming 1 August 5th 05 06:39 AM
Auto run macro on *.csv file open CP Poe Excel Programming 4 March 4th 05 06:25 PM
Auto run macro on open file Diane Alsing Excel Programming 2 February 16th 05 02:05 PM


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