Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need to auto update excel file on server 1

Status
Not open for further replies.

gizzy17

Vendor
Joined
Nov 6, 2003
Messages
141
Location
US
Is there a way that I could write a windows script that would run on a server to open an excel spreadsheet and run an update macro inside of it then save the spreadsheet again? The excel file will be stored on a server with read only attributes and needs to be updated automaticaly each night.
 
You could use an ONTime macro within Excel that would automatically update Excel from within Excel.

Richard
 
Wouldn't an ONTime macro require the excel file to remain open under a user acount on the server?
 
OnTime will run a macro of your choice in any open Excel book. You could leave Excel running (and then no-one could access it by accident :->

Richard
 
Hi gizzy,

You also could consider using another program, an automating program like the one offered by I use it to retrieve stock quotes, and when i have all the quotes needed it starts excel, which analyses all data.
After the data analyses excel shuts down, and the timer will trigger a new start when needed.

With regards

Mike
 
Thanks Mike,

Automation software is probably what we will eventualy have to use.

Gizzy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top