Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 57
Default Automatic Updates

Not exactly an excel question but thought you maybe able to help.

I currently have an excel speadsheet that has a link to SQL server. I am
the only person that has access to SQL. SQL updates the tables at 1 am
everyday. To update the spreadsheet I have to open the file, refresh and
then save for other people to be able to see the changes.

What I am wanting to do is to set some sort of task that will automatically
open the spreadsheet at 2am, refresh it and save it.

The reason I am wanting to do this is so that when I am holiday the
spreadsheet is always upto date. (Plus it saves me doing it)

Is this possible??

The Rook
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 132
Default Automatic Updates

You can schedule a windows task to open a workbook. When the workbook opens,
you can insert code to auto refresh and save.

An easier approach is to always have a master workbook open and at specified
times (using a "wait" or similar function), have the workbook update and save
a copy of itself.

Either works, but it is easier to code the latter and I have found it is
more reliable.

Regards,
Bill Pfister



"TheRook" wrote:

Not exactly an excel question but thought you maybe able to help.

I currently have an excel speadsheet that has a link to SQL server. I am
the only person that has access to SQL. SQL updates the tables at 1 am
everyday. To update the spreadsheet I have to open the file, refresh and
then save for other people to be able to see the changes.

What I am wanting to do is to set some sort of task that will automatically
open the spreadsheet at 2am, refresh it and save it.

The reason I am wanting to do this is so that when I am holiday the
spreadsheet is always upto date. (Plus it saves me doing it)

Is this possible??

The Rook

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
Automatic Updates paulw Excel Discussion (Misc queries) 0 September 22nd 09 02:42 PM
Automatic updates PMach Excel Discussion (Misc queries) 0 May 30th 08 08:31 PM
Automatic Array updates Blade370 Excel Discussion (Misc queries) 0 March 28th 07 02:15 AM
Sharing - Automatic Updates Chris Excel Discussion (Misc queries) 0 July 14th 06 02:59 PM
AUTOMATIC UPDATES Jillian Excel Worksheet Functions 0 January 6th 06 08:43 PM


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

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"