#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 55
Default upadting question

Is there a code/macro that will enable the user to update all the links to
external workbooks? To bypass the data tab updating and making the changes,
saving, closing,and reopening everytime u change the criteria for the
formula's. Hoping to be able to save then it will update then.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 133
Default upadting question

Try :
ActiveWorkbook.UpdateLink , xlLinkTypeOLELinks
ActiveWorkbook.UpdateLink , xlLinkTypeExcelLinks
HTH
Daniel
Is there a code/macro that will enable the user to update all the links to
external workbooks? To bypass the data tab updating and making the changes,
saving, closing,and reopening everytime u change the criteria for the
formula's. Hoping to be able to save then it will update then.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 55
Default upadting question

Ok I think I entered it in right but it gives me a compile error: Invalid
outside procedure.

"Daniel.C" wrote:

Try :
ActiveWorkbook.UpdateLink , xlLinkTypeOLELinks
ActiveWorkbook.UpdateLink , xlLinkTypeExcelLinks
HTH
Daniel
Is there a code/macro that will enable the user to update all the links to
external workbooks? To bypass the data tab updating and making the changes,
saving, closing,and reopening everytime u change the criteria for the
formula's. Hoping to be able to save then it will update then.




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 133
Default upadting question

I tested it with XL2003, XL2007. Which version do you own ?
Can you try :
ActiveWorkbook.UpdateLink ActiveWorkbook.LinkSources
or :
For Each lk In ActiveWorkbook.LinkSources
ActiveWorkbook.UpdateLink lk
Next lk
Daniel

Ok I think I entered it in right but it gives me a compile error: Invalid
outside procedure.

"Daniel.C" wrote:

Try :
ActiveWorkbook.UpdateLink , xlLinkTypeOLELinks
ActiveWorkbook.UpdateLink , xlLinkTypeExcelLinks
HTH
Daniel
Is there a code/macro that will enable the user to update all the links to
external workbooks? To bypass the data tab updating and making the
changes, saving, closing,and reopening everytime u change the criteria for
the formula's. Hoping to be able to save then it will update then.






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
where can I see my question and answer? Yesterday I ask a question IP Excel Discussion (Misc queries) 2 May 10th 08 04:08 PM
Newbie Question - Subtraction Formula Question [email protected] Excel Discussion (Misc queries) 3 May 5th 06 05:50 PM
question. ace New Users to Excel 2 May 5th 06 03:25 PM
The question is an excel question that I need to figure out howto do in excel. Terry Excel Worksheet Functions 3 January 23rd 06 06:22 PM
Question for Peo Jim Excel Worksheet Functions 1 January 13th 05 07:59 PM


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