Results 1 to 14 of 14

Thread: VLookup VBA Code & Elseif troubles

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Knowledge Base Approver VBAX Wizard p45cal's Avatar
    Joined
    Oct 2005
    Location
    Surrey UK
    Posts
    5,961
    The attached has your macro re-written.
    If the code in column A is not found on the other sheets nothing changes.
    If it is found then cells are updated, including putting "???" in cells where values don't match any of your combinations (there were none in your sample file).
    Note that column C is not updated at all as is the case with several other columns - be careful.
    Attached Files Attached Files
    p45cal
    Everyone: If I've helped and you can't be bothered to acknowledge it, I can't be bothered to look at further posts from you.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •