+ Reply to Thread
Results 1 to 3 of 3

Vlookup works fine, but not in Macro

  1. #1
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    4,056

    Vlookup works fine, but not in Macro

    I'm trying to use the macro below to paste a Vlookup formula into my spreadsheet. When I run the macro, the results are all FALSE. However, if I pull out the Vlookup formula itself and apply it into the cells (in columns J and K), changing RC[9] or RC[10] to A2, it works perfectly. What am I doing wrong? I've been fooling with this for hours, and it seems so simple, but I'm not seeing it. Please help.

    Please Login or Register  to view this content.
    Last edited by jomili; 03-01-2010 at 12:54 PM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Vlookup works fine, but not in Macro

    Not
    Please Login or Register  to view this content.
    just
    Please Login or Register  to view this content.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    4,056

    Re: Vlookup works fine, but not in Macro

    Well, I guess if I'm going to look stupid, I should look REALLY stupid. I can't believe I did that, AND didn't see it. Thanks for setting me straight!

+ 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