Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default Updating Links in Excel

I have a spreadsheet which retrieves data from several
other spreadsheets. When i open this spreadsheet it asks
me would i like to update the links and i click Yes and my
data is now current.

Does anyone know the code for this update. I want a button
which will run the same script as when i click Yes on
entry to the spreadsheet to update the links.

Thanks,

Danny.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 493
Default Updating Links in Excel

One way:

With ThisWorkbook
.UpdateLink Name:=.LinkSources
End With

In article ,
"Danny" wrote:

I have a spreadsheet which retrieves data from several
other spreadsheets. When i open this spreadsheet it asks
me would i like to update the links and i click Yes and my
data is now current.

Does anyone know the code for this update. I want a button
which will run the same script as when i click Yes on
entry to the spreadsheet to update the links.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default Updating Links in Excel

I am very new to code. Do i need to enter some variables
as the code as it is does not seem to work?

The spreadsheet with the linked data in is called book1
and the source data is from book2.

Any ideas?


-----Original Message-----
One way:

With ThisWorkbook
.UpdateLink Name:=.LinkSources
End With

In article ,
"Danny" wrote:

I have a spreadsheet which retrieves data from several
other spreadsheets. When i open this spreadsheet it

asks
me would i like to update the links and i click Yes and

my
data is now current.

Does anyone know the code for this update. I want a

button
which will run the same script as when i click Yes on
entry to the spreadsheet to update the links.

.

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
updating links - Excel 2007 Needin help Excel Discussion (Misc queries) 0 March 18th 10 06:04 PM
Updating links in Excel 2002 Kim Excel Discussion (Misc queries) 0 August 17th 07 02:17 AM
Updating Links on Excel Update Link Question Excel Discussion (Misc queries) 4 May 22nd 06 08:21 PM
updating links in Excel WESTARM Excel Discussion (Misc queries) 0 March 13th 06 03:40 PM
not updating links in excel 2003 Tony Excel Worksheet Functions 0 February 11th 05 09:57 AM


All times are GMT +1. The time now is 12:23 AM.

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"