LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Macro to run everyday???

I bet you meant Auto_Open (not autoexec).

Paul Grayson wrote:

Within excel you can create functions within the vba code, if you create a
funtion called "Autoexec" and within the function run the macro.

When you open the excel spreadsheet "Autoexec" function automatically runs,
therefore running your macro.

Then within windows there is a package called "Scheduled Tasks" create a
scheduled task to run the excel spreadsheet on a daily basis and it will open
the spreadsheet and then run the Autoexec function which in turn will run the
Macro.

hope this helps.

Paul

"Pete" wrote:

Paul, I was able to figure out how to have the spreadsheet automatically run
the macro I created when the specific spreadsheet is opened, buty I can't
seem to fugure out how to tell excel to do this automatically when the
program is open. can you please elaborate on your suggestion.

Thanks
--
Pete


"Paul Grayson" wrote:

Pete,

Create an autoexec function which will automatically run when you open excel
that runs your macro. The tell the windows scheduled tasks to open the excel
spreadsheet on a schedule of your choise

"Pete" wrote:

File = Excel 2003 File?

"URL;http://www.wistv.com/Global/category.asp?", Destination:= _
ActiveCell)
--
Pete


"Don Guillett" wrote:

What kind of file and what url?

--
Don Guillett
SalesAid Software

"Pete" wrote in message
...
Is there a way to have excel run a macro everyday either when the excel
program is opened or a certain time in the day with the program not open?
I
don't this the later is possible, but I know only a limited amount
information in programing.

I want to perform a web query everyday in a certain file, but I do not
want
to have to open that particular file everyday. Any guidence or help is
greatly apprech.
--
Pete




--

Dave Peterson
 
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
automatically run a macro everyday Kam Excel Discussion (Misc queries) 6 December 12th 09 06:04 PM
Display Date that does not change everyday. heater Excel Discussion (Misc queries) 4 August 27th 08 02:03 PM
Formula help ... moving to next cell everyday chisigs2 Excel Worksheet Functions 2 August 18th 05 11:55 PM
code for program run once everyday Angus Excel Programming 2 August 2nd 05 07:44 AM
auto download file everyday Steve[_63_] Excel Programming 2 July 29th 04 06:16 AM


All times are GMT +1. The time now is 02:25 PM.

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"