Results 1 to 5 of 5

New to VBA, need to do Vlookup after a value is entered

Threaded View

  1. #1
    Forum Contributor
    Join Date
    06-11-2016
    Location
    Atlanta
    MS-Off Ver
    2016
    Posts
    104

    New to VBA, need to do Vlookup after a value is entered

    I have a couple VBA questions as this is my first time taking on a project involving VBA.

    What I want to happen:
    1. The user presses the button and an inputBox appears asking to input an auction number and an auction seller. These values are stored under variables AuctionNum and AuctionSeller.
    2. Today's date is updated to the current date once the button is pressed and is stored in the variable TodayDate. This value is placed in the format mm/dd/yy in cell H2.
    3. Vlookup formulas search through the database tab in cells B3:F30 to return the auction date in cell c7 and the total cars in cell c9. These values are stored in the variable AuctionDate and TotalCars.



    The code I have been working on is currently under module 1 and i apologize if the formatting or anything is wrong. This is my first crack at something like this and am trying to learn.

    I hope this makes sense and will try to answer any questions promptly.

    Thank you,

    Matt

    **I'm using excel 2016 for Mac
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Transform entered Text into a clickable Hyperlink via VLOOKUP
    By stonegate in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-15-2016, 08:01 PM
  2. Use VLOOKUP to Apply the Formula Entered in the Matched Cell
    By BobGears in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-18-2016, 02:19 PM
  3. [SOLVED] Return last entered data via VLOOKUP over multiple cells.
    By realrookie in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-06-2016, 03:09 PM
  4. [SOLVED] MsgBox Text Based on Value entered in UserForm (Vlookup?)
    By silentcarl in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-18-2015, 08:14 AM
  5. Replies: 2
    Last Post: 09-27-2014, 02:51 PM
  6. Replies: 3
    Last Post: 04-21-2013, 02:17 AM
  7. VLOOKUP only works on data manually entered.
    By Mike Rogers in forum Excel General
    Replies: 6
    Last Post: 04-25-2006, 02:20 PM

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