+ Reply to Thread
Results 1 to 4 of 4

How can I Autoupdate Vlookup links when the other workbook is open?

  1. #1
    Registered User
    Join Date
    12-02-2019
    Location
    Canada
    MS-Off Ver
    Office 365
    Posts
    9

    How can I Autoupdate Vlookup links when the other workbook is open?

    I have two workbooks, "Test1" and "Test2" each with a sheet inside. The code is inside the "Test1" workbook, inside the "ThisWorkbook" module.

    I have a Vlookup in the sheet "Mytest1" inside the "Test1" workbook, that simply does a Vlookup with workbook "Test2" inside sheet "Mytest2". Both workbooks are password protected, I am having an issue where if I have the workbook "Test2" opened on another computer, I get a prompt to "Enter Password" for "Test2" when I open my "Test1" workbook.

    I have posted screenshots below of both workbooks and code, alongside the code itself. Please ask me any questions to clarify anything.

    Please Login or Register  to view this content.
    code.JPG
    test1.JPG
    test2.JPG

  2. #2
    Forum Contributor
    Join Date
    07-11-2012
    Location
    india
    MS-Off Ver
    Excel 2010
    Posts
    144

    Re: How can I Autoupdate Vlookup links when the other workbook is open?

    Hi,

    You can just open the file as readonly. use the code below

    Please Login or Register  to view this content.
    Ravikumar,

    * Please Add Reputation if solved.

  3. #3
    Registered User
    Join Date
    12-02-2019
    Location
    Canada
    MS-Off Ver
    Office 365
    Posts
    9

    Re: How can I Autoupdate Vlookup links when the other workbook is open?

    Thank you, worked flawlessly!

  4. #4
    Registered User
    Join Date
    12-02-2019
    Location
    Canada
    MS-Off Ver
    Office 365
    Posts
    9

    Re: How can I Autoupdate Vlookup links when the other workbook is open?

    Quote Originally Posted by fshbet View Post
    Hi,

    You can just open the file as readonly. use the code below

    Please Login or Register  to view this content.
    I meant to say thank you to your reply, not just the post!

+ 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. workbook only updates links when i open it
    By daveyc18 in forum Excel General
    Replies: 9
    Last Post: 08-17-2019, 01:35 AM
  2. macro to autoupdate links
    By MOUNIR75 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-15-2017, 08:34 AM
  3. [SOLVED] links to open closed workbook
    By kriminaal in forum Excel General
    Replies: 1
    Last Post: 07-09-2016, 09:52 AM
  4. [SOLVED] Workbook links causing linked workbook to open, but remain hidden
    By Rob T in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-20-2014, 06:24 AM
  5. Autoupdate Excel links in PowerPoint
    By jack_kaps in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-02-2012, 05:32 AM
  6. Don't update links on workbook open
    By dylanemcgregor in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-14-2009, 07:32 PM
  7. AutoUpdate Links
    By Cherokee in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-01-2006, 08:03 AM

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