LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default Update Links after Closing Linked File

I have built a budget worksheet that relies on linked detail sheets to update
the budget. In "Budget Summary.xls" it lists all account numbers. Each
account number has a hyperlink (using Worksheet_FollowHyperlink) that opens
the detail budget entry workbook for that account. So, if I click on
"40000", then "Detail - 40000.xls" opens.

"Budget Summary.xls" has links to the detail entry sheets to show the
monthly budgeted amounts. These update automatically when the workbook
opens. So say I open "Detail - 40000.xls" with the hyperlink. My detail
workbook has two command buttons - one saves the changes, closes detail, and
returns to "Budget Summary.xls" and one does not save changes, closes detail
and returns to "Budget Summary.xls".

Here's my problem, if a user makes changes to "Detail - 40000.xls" but
decides they don't want them and clicks the second button to not save the
changes, "Budget Summary.xls" retains the changes even though they weren't
saved. If I refresh the links, then the original saved values will return on
"Budget Summary.xls". What I would like to do is automate via VBA so that if
the user clicks on the second command button in the detail file (i.e., don't
save changes) then my "Budget Summary.xls" file will return to it's original
state. Any help would be appreciated!
--
Thanks,

Gerry O.
 
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
update linked spreadsheets w/o recreating links Petersjill Excel Worksheet Functions 1 October 11th 07 09:18 PM
How do I save 2 linked spreadsheets and update links in formulae Confused Excel User[_2_] Excel Discussion (Misc queries) 0 March 8th 07 09:37 PM
How do I save 2 linked spreadsheets and update links in formulae dlw Excel Discussion (Misc queries) 0 March 8th 07 09:36 PM
Need to disable a prompt in Excel when trying to programatically update links in a PPT Presentation that is linked to Excel shysue25 Excel Programming 0 November 3rd 05 10:02 PM
Automate open file, update links, run macro, close and save file Geoff[_7_] Excel Programming 2 August 26th 03 10:13 PM


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