Results 1 to 6 of 6

How can I get VLOOKUP to work with this?

Threaded View

  1. #1
    Registered User
    Join Date
    07-04-2014
    Location
    Texas
    MS-Off Ver
    2013
    Posts
    24

    How can I get VLOOKUP to work with this?

    I want insert VLOOKUP in place of the values 1,2,3,4,0 but am getting a cell reference error. Any ideas?

    If HR430Flag = True Then
        ActiveCell.Offset(0, 1).Value = 1
            
    ElseIf HR431Flag = True Then
        ActiveCell.Offset(0, 1).Value = 2
         
    ElseIf HD430Flag = True Then
        ActiveCell.Offset(0, 1).Value = 3
         
    ElseIf HD431Flag = True Then
        ActiveCell.Offset(0, 1).Value = 4
        
    Else
        ActiveCell.Offset(0, 1).Value = 0
    End If
    Last edited by mantis1117; 07-05-2014 at 10:04 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Will VLookup work
    By bengaluru in forum Excel General
    Replies: 6
    Last Post: 05-16-2014, 09:26 AM
  2. Vlookup for work
    By shanka in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-19-2013, 03:27 AM
  3. Vlookup does not work
    By excel_newbie123 in forum Excel - New Users/Basics
    Replies: 9
    Last Post: 08-14-2009, 01:25 PM
  4. Vlookup help Or work around
    By grim in forum Excel General
    Replies: 3
    Last Post: 03-23-2009, 10:19 PM
  5. vlookup did't work
    By socute in forum Excel General
    Replies: 3
    Last Post: 04-03-2008, 03:11 AM

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