+ Reply to Thread
Results 1 to 2 of 2

Reference to activeworkbook name in vlookup

  1. #1
    Forum Contributor
    Join Date
    07-26-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2016 Office 365 ProPlus
    Posts
    822

    Reference to activeworkbook name in vlookup

    So I have a vlookup in VBA which refers to a tab in the activeworkbook :

    Please Login or Register  to view this content.
    Now I want this formula to be flexible to name changes of the workbook.

    So I thought about :

    Please Login or Register  to view this content.
    This obviously does not work.

    Can it be tweaked to work or should an entire different approach be used?

  2. #2
    Forum Contributor
    Join Date
    07-26-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2016 Office 365 ProPlus
    Posts
    822

    Re: Reference to activeworkbook name in vlookup

    Hmm sorry.....screwed up in this.... :s
    Don't know how the name of the workbook got recorded in this....should not be in.
    Got it working now.
    Sorry.

+ 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. Reference last activeworkbook
    By randell.graybill in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-07-2010, 10:04 PM
  2. Different between ActiveWorkbook.Sheet and ActiveWorkbook.WorkSheets
    By Ranjani in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-02-2009, 12:56 AM
  3. Making VLookup Absolute reference and deleting worksheet reference question
    By crowdx42 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-24-2006, 12:45 PM
  4. Replies: 10
    Last Post: 04-29-2005, 05:06 PM

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