Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 26
Default Updating sheet without re-opening...

Hi,

I have a workbook that is open constantly on our helpline wallboard. A couple of the cells point to other cells in a different workbook which we update daily.

My problem is that when we make the updates the sheet on the wallboard doesn't update unless I close and re-open, or I open the other sheet on that pc. Is there any way of auto refreshing and pulling the data?

I've tried the F9 (calculate) in a macro that runs every 15 minutes, but it doesn't refresh the data from the other sheet....

Any ehlp would be appreciated...
Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,069
Default Updating sheet without re-opening...

Instead of just recalculating, your macro needs to call the UpdateLink
method, like this:

Sub Auto_Open()
Application.OnTime (Now() + TimeValue("0:01:00")), "UpdLinks"
End Sub

Private Sub UpdLinks()
'Update all links in ThisWorkbook.
ActiveWorkbook.UpdateLink Name:=ActiveWorkbook.LinkSources
Calculate
'If ThisWorkbook isn't active any more, stop scheduling updates.
If ActiveWorkbook.Name = ThisWorkbook.Name Then
Application.OnTime (Now() + TimeValue("0:01:00")), "UpdLinks"
End If
End Sub

The example above is set to update approximately once a minute. For 15
minutes, change the TimeValue argument to "0:15:00".

Hope this helps,

Hutch

"neilcarden" wrote:


Hi,

I have a workbook that is open constantly on our helpline wallboard. A
couple of the cells point to other cells in a different workbook which
we update daily.

My problem is that when we make the updates the sheet on the wallboard
doesn't update unless I close and re-open, or I open the other sheet on
that pc. Is there any way of auto refreshing and pulling the data?

I've tried the F9 (calculate) in a macro that runs every 15 minutes,
but it doesn't refresh the data from the other sheet....

Any ehlp would be appreciated...
Thanks




--
neilcarden

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
How to stop spreadsheets automatically updating on opening? Victor Delta Excel Discussion (Misc queries) 2 July 20th 07 06:52 PM
Stop Updating Today() On opening PWS Excel Worksheet Functions 5 May 14th 07 03:45 PM
Updating worksheet without opening vthoky Excel Discussion (Misc queries) 0 May 19th 06 05:38 PM
Updating LINKS when opening a workbook Dragon120 Excel Worksheet Functions 1 April 3rd 06 03:23 AM
'updating' without 'opening' John Phillips Excel Discussion (Misc queries) 0 December 14th 05 05:47 PM


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