+ Reply to Thread
Results 1 to 6 of 6

Update Links updating without being told

  1. #1
    Forum Contributor
    Join Date
    11-09-2007
    Location
    USA
    MS-Off Ver
    2003
    Posts
    141

    Update Links updating without being told

    I have a workbook that links to cells in a closed workbook. I made a command button that will update the cells when I click it. I did this because I don't always want the cells to update.
    I also set the "Edit Links" option to "Don't display the alert and don't update the links automatically". I didn't want the update, don't update window to popup upon opening the workbook. If they clicked update on that it would have updated all the sheets in that workbook which would have been bad.
    The thing I cannot figure out is that the links update in real time, without using my command button. If I open the linked sheet and change info, then my original sheet changes its data as well. How can I kabosh this from happening? The problem is that it updates any sheet in the workbook they have open which should not happen. Sorry for the long post, Thanks for looking!!

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: Update Links updating without being told

    Hello ge0rge,

    The closed workbook is updated in real time by the system using DDE (Dynamic Data Exchange). Windows initiates the DDE conversion between the server and the client and operates independently from Excel and VBA. I am not sure you can stop the links from updating in real time because of this.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Forum Contributor
    Join Date
    11-09-2007
    Location
    USA
    MS-Off Ver
    2003
    Posts
    141

    Re: Update Links updating without being told

    Well then, it appears I need to take a different approach to this. Thanks for the words of wisdom!!

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Update Links updating without being told

    One way that comes to mind for me is to possibly create an intermediary sheet ([book2.xls]). If it's sole responsibility was to have the data for the final sheet ([book3.xls]), but all of its cells were simply =[book1.xls]Sheet1!A1, =[book1.xls]Sheet1!A2, etc... and the book2 is closed, perhaps it's cells will not be updated so Book3 keeps getting the data from Book2 even though you've updated the data in Book1.

    Would this work? Anyone know?
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  5. #5
    Forum Contributor
    Join Date
    11-09-2007
    Location
    USA
    MS-Off Ver
    2003
    Posts
    141

    Re: Update Links updating without being told

    I recently setup such a scenario with help from others on this forum. I linked a second worksheet to a closed workbook and then pulled all pertinent info from my second worksheet to the main one. Feel free to have a look.
    http://www.excelforum.com/excel-prog...-workbook.html

  6. #6
    Forum Contributor
    Join Date
    11-09-2007
    Location
    USA
    MS-Off Ver
    2003
    Posts
    141

    Re: Update Links updating without being told

    Well I tried that and it also updates all the worksheets in the workbook instead of just the active one. I think I am going to have to take the loss to excel on this one.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1