+ Reply to Thread
Results 1 to 2 of 2

activecell & Vlookup

  1. #1
    flow23
    Guest

    activecell & Vlookup

    Is there a way to rewrite a vlookup based on activecell?

    =VLOOKUP("activecell",Sheet1!A:B,2,FALSE)
    where in it picks up value from the active cell?



  2. #2
    pinmaster
    Guest
    Right click on your worksheet and put something like this:

    Private Sub Worksheet_SelectionChange(ByVal Target As Range)
    Range("A1") = ActiveCell.Value
    End Sub

    change A1 to any blank cell and refer to that cell in your formula.

    HTH
    JG

+ 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