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: 2,452
Default Is it a way to schedule an excel spreadsheet to update automat

Can't find any download site now.
If you want I can mail you the zipped file.

RBS


"Jeff" wrote in message
...
RB,
That's exactly what I am looking for. However, that's an invalid link,
Edanmo is not listed as Excel MVPs anymore.
Do you have another link or another dll that will do the same thing?

Thanks

"RB Smissaert" wrote:

One way of passing these arguments would be to add them to the Window
task
as comments.
If you get the superb .dll file tskschd.dll, written by Edanmo Morgilllo:
http://www.mvps.org/emorcillo/vb6/grl/index.shtml
this can be done quite easily.
If you have several arguments you will have to add them as comments
separated by for example comma's and then
read the comment into a string variable and do a split with the Split
function.
Another way would be to have a workbook (could be an add-in) with some
arguments written to a sheet and this
workbook will then read the arguments and launch your other workbook.

RBS


"Jeff" wrote in message
...
Guys,
Thanks for the replies. Sorry that I should have given more
details.

I can't really put the code on open, it's because one of the tasks
is
to
print all the reports (over 80 of them), and printing on open isn't
going
to
work.

I am wondering if there is a way to pass in arguments (before the
spreadsheet is even lauched (e.g. c:\..\excel.exe test.xls printMode
date=12/31/04) things along that line. I know I can schedule an excel
spreadsheet to launch using scheduler, but not sure if I can pass in
arguments (variables) so the spreadsheet knows to perform some specific
actions.


Thanks

"Tom Ogilvy" wrote:

Use the windows schedular to open the file (and open excel) at the
specified
time

Put code in the workbook_Open event in the thisworkbook module to
perform
the actions you required.

http://www.cpearson.com/excel/events.htm
Chip Pearson's page on events.

--
Regards,
Tom Ogilvy

"Jeff" wrote in message
...
Hi all,
I'd like to have my spreadsheet to update automatically (don't
know
if
that's possible).
In order to do so, it needs to be able to do the following:

1) Is it a way to pass it arguments when lauching Excel, e.g. file
name,
list of parameter such as date, mode, ..etc? Currently, the update
is
triggered by clicking a commandbtn, if there is a way to pass in
arguments
maybe I can get that to update automatically at a scheduled time
(using
a
batch file)?
2) print out 2 preselected area (2 different sections in the same
spreadsheet).


Any help will be greatly appreciated.








 
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
Excel spreadsheet for schedule A Excel Discussion (Misc queries) 2 June 10th 08 06:07 AM
how do I make excel automat gener8 the date for 28 days l8a? jesco0 Excel Worksheet Functions 2 May 19th 08 08:56 AM
I need a spreadsheet in Excel to schedule Home Health Aids ADA Excel Discussion (Misc queries) 0 February 5th 06 07:53 PM
format cell in excel as to convert any numeral into words automat. MALIKWAJIH Excel Programming 1 February 9th 05 06:01 PM
In MS Excel, after you input an USD amount, an option for automat. Mohamed S. Excel Worksheet Functions 6 February 1st 05 06:09 AM


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