Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Invisible linked workbook?

Hi All

On Excel97, Windows NT, I have a spreadsheet that links to 11 others
on a network to build reports.

On that sheet, I've put an image so that users can click to update all
links in one go using the following code:

ActiveWorkbook.UpdateLink Name:=ActiveWorkbook.LinkSources

The code worked fine all last year but I'm now getting a run time
error of 1004 with the message "Method 'UpdateLink' of object
'_Workbook' failed"

Knowing that I've created new sheets for 2004 for all the "linked to"
sheets (and changed the layout/code etc for some of them) I assumed
I'd made a mistake somewhere and attempted to track it down.

So far, I've found one sheet to be the culprit but now I'm really
confused:

When prompted to update the links on opening the reporting sheet, all
the links are correctly refreshed.

However, when I've recorded a macro updating the suspect sheet
(EditLinks[select the sheet]Update NowOK) I get this code:

Sub Macro1()
'
' Macro4 Macro
' Macro recorded 19/01/04 by scooper
'

'
End Sub

It's empty! It seems that Excel is happy to update the link on
opening but LinkSources can't see it.

Has anybody else encountered this problem and do you know of a
resolution?

Thanks for your patience.

Steve
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
pulling color from cell of workbook to another linked workbook Sunshine Excel Discussion (Misc queries) 5 September 28th 07 12:42 PM
Invisible Workbook rwt_ray Excel Discussion (Misc queries) 0 December 5th 06 06:21 PM
Linked Cells Staying With Cells Once Linked Workbook Update. [email protected] Excel Worksheet Functions 0 June 6th 06 09:32 AM
Linked workbook(s) Tom Excel Discussion (Misc queries) 1 April 3rd 06 09:39 PM
Set Workbook to invisible? S. Daum Excel Programming 1 August 6th 03 09:46 PM


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