+ Reply to Thread
Results 1 to 4 of 4

Formula vlookup does not update automatically in macros or with refresh all

  1. #1
    Registered User
    Join Date
    04-02-2014
    Location
    Brasil
    MS-Off Ver
    Excel 20010
    Posts
    25

    Formula vlookup does not update automatically in macros or with refresh all

    this post is a copy of this one

    http://www.excelforum.com/excel-prog...in-macros.html

    I have the exact same problem.

    I have two excel ( both open)
    One with automatic calculation( the other one I use as reference I don't know because is in other machine)
    I have a vlookup point to other excel.
    I run a macro that update everything. but the vlookup dont get updated, the same as the guy here describe better than I can describe myself.

    But the vlookup don't. If I hit F2 and enter then I get the new value.




    here is the problem isolate



    There are two excel files here

    Take the one reference and put in other computer with access throught network

    Open the two files one in each computer
    Go to the reference file( in the other computer), change the value and save and keep it open

    Now you can go to the file1exampleerror ( in other computer)
    And click in refresh all, nothing
    You can run the macro to update and nothing

    now f2 in the cell and then hit enter and magic happens.

    I want to refresh this by macro but I have several values in the worksheet.


    tksfile1exampleerror.xlsmreference.xlsx

  2. #2
    Forum Contributor
    Join Date
    06-09-2011
    Location
    Germany
    MS-Off Ver
    Excel 2016
    Posts
    194

    Re: Formula vlookup does not update automatically in macros or with refresh all

    Hi alcalina,

    please insert the following line into your macro:
    Please Login or Register  to view this content.
    This will ensure that calculated values are updated, even if the macro switches calculation to manual first.
    Remember To Do the Following....
    1. Upload sample files
    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.

  3. #3
    Registered User
    Join Date
    04-02-2014
    Location
    Brasil
    MS-Off Ver
    Excel 20010
    Posts
    25

    Re: Formula vlookup does not update automatically in macros or with refresh all

    Hi Fettertiger, how are you?

    It didn't work. I still have to hit f2 and then enter.

  4. #4
    Forum Contributor
    Join Date
    06-09-2011
    Location
    Germany
    MS-Off Ver
    Excel 2016
    Posts
    194
    Quote Originally Posted by alcalina View Post
    Hi Fettertiger, how are you?

    It didn't work. I still have to hit f2 and then enter.
    You might also try

    ActiveWorkbook.UpdateLink Name:=ActiveWorkbook.LinkSources

    Theo

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Formula vlookup does not update automatically in macros.
    By Takkk in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 12-31-2012, 06:29 AM
  2. Can a formula update automatically ?
    By PW6780 in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 02-29-2012, 02:55 PM
  3. Macros - add column, update formula
    By sgp in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-07-2011, 11:08 AM
  4. Formula does not update automatically
    By Franziska in forum Excel General
    Replies: 4
    Last Post: 06-28-2010, 08:50 AM
  5. VLOOKUP Personal.xls - how to make values update automatically
    By maff in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-18-2008, 03:23 PM
  6. [SOLVED] Formula do not refresh automatically
    By PS in forum Excel General
    Replies: 4
    Last Post: 05-09-2005, 04:06 AM
  7. Can I set up the formula to update automatically?
    By pugsly8422 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-23-2005, 01:06 PM
  8. How can I automatically update column index number in VLookup whe.
    By Gene in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-26-2005, 06:06 PM

Tags for this Thread

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