+ Reply to Thread
Results 1 to 5 of 5

Test if any other workbooks' formulas point to this workbook

  1. #1
    Registered User
    Join Date
    12-22-2010
    Location
    Fort Rouge, Canada
    MS-Off Ver
    Excel 2010
    Posts
    37

    Question Test if any other workbooks' formulas point to this workbook

    I have a workbook that contains lots of source data.
    I want to insert columns but need to know if that will mess up other workbooks that have vlookups pointed to it.

    Is there any way to determine this?

    thanks

  2. #2
    Valued Forum Contributor gjlindn's Avatar
    Join Date
    08-01-2011
    Location
    Dodgeville, WI
    MS-Off Ver
    Excel 2003, 2007, 2010, 2013
    Posts
    369

    Re: Test if any other workbooks' formulas point to this workbook

    Do you have a list of all workbooks that link to your workbook? I think it works like this: If you have the workbook opened which is linked to your workbook and you insert columns in your workbook, the linked workbook will adjust. Workbooks linked to yours which are not open would not adjust and point to the wrong data when updated. I'm sure someone will pipe in if this is incorrect. Thanks!
    -Greg If this is helpful, pls click Star icon in lower left corner

  3. #3
    Valued Forum Contributor
    Join Date
    05-23-2011
    Location
    Lahore PK
    MS-Off Ver
    Excel 2007, 2013
    Posts
    627

    Re: Test if any other workbooks' formulas point to this workbook

    Hi finny 388

    if you insert the column at the end of data then there will be no problem. however, if you add the column with in the vlook up range then the vlookup formula in the other workbook will not give correct answer.

    if you use index+match function with tact instead of vlookup, then it will adjust even if the columns are added with inthe range
    Azam
    If you want to say Thank you to a member, click the reputation icon (Star) in the left bottom of the post.
    For prompt answer, be descriptive, concise, short, direct, and to-the-point.

  4. #4
    Registered User
    Join Date
    12-22-2010
    Location
    Fort Rouge, Canada
    MS-Off Ver
    Excel 2010
    Posts
    37

    Re: Test if any other workbooks' formulas point to this workbook

    Quote Originally Posted by gjlindn View Post
    Do you have a list of all workbooks that link to your workbook?

    Thank you but no, that is what I am asking.

  5. #5
    Valued Forum Contributor gjlindn's Avatar
    Join Date
    08-01-2011
    Location
    Dodgeville, WI
    MS-Off Ver
    Excel 2003, 2007, 2010, 2013
    Posts
    369

    Re: Test if any other workbooks' formulas point to this workbook

    Well...if you're able to search all directories that could contain a potentially linked workbook, then yes. It would require some sort of code to open each excel workbook and check for links to your workbook. Not a short running task if you have a lot of places to search and/or a lot of potentially linked workbooks. Excel workbooks don't inherently know what workbooks are linked to it...only which workbooks it links to. Does that make sense? If you are interested in a VBA solution to search all possible potential workbooks let me know and I may be able to help you with that. Thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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