Results 1 to 7 of 7

VLOOKUP Function to select the cell that has been found

Threaded View

  1. #1
    Forum Contributor
    Join Date
    02-23-2015
    Location
    united kingdom
    MS-Off Ver
    14.0.7143.5000 (32-bit)
    Posts
    124

    VLOOKUP Function to select the cell that has been found

    Hi there,

    I need Lookup to select the cell that has been matched with lookedup value so i am able to assign a new value within such cell.
    so far i got

    /code
    Sub waste()
    Dim ra As range, val As String
    
    
    
    
    
    Sheets(1).Select
    
    
     Set ra = Sheets("resin").range("d2:p100")
        
    val = Sheets("Manufacturing").range("d9")
    
    result = Application.WorksheetFunction.VLookup(val, ra, 13)
    
    Range(result).select '----> it does not like this part:(
    
    
    'Sheets(1).range("K9") = result

    /code
    Last edited by nosense; 08-05-2015 at 01:30 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Vlookup function does not continue when match is not found
    By dresur in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-08-2015, 03:48 PM
  2. Vlookup function error value not found
    By aoora in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-23-2014, 04:43 PM
  3. How to determine range to select once a reference cell is found?
    By ivoryg in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-31-2012, 10:29 AM
  4. How to get the address of the cell found our by vlookup
    By dilettante in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-08-2006, 10:10 PM
  5. Select Range found by Vlookup
    By JG Scott in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-18-2006, 01:10 PM
  6. [SOLVED] Find text String and select cell address where it is found?
    By JCIrish in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-16-2006, 09:45 AM
  7. Replies: 0
    Last Post: 08-25-2005, 03:46 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