+ Reply to Thread
Results 1 to 6 of 6

Input Box with a few uses

  1. #1
    Registered User
    Join Date
    09-25-2006
    Location
    North West, UK
    MS-Off Ver
    2010
    Posts
    73

    Input Box with a few uses

    Hello all

    I am trying to rush through a little project for my boss (as usual he wants it yesterday) and my limited knowledge is going slow as I have never worked with input boxes. So wondering if anyone can help with a little bit of VBA

    Basically, I have a spreadsheet with 3 columns, Date, Username, Project Record Number

    I am wanting an input box to allow a user to enter these 3 bits of information in then check to see if the Username already shows in the list. If it does then a message to say that, and if not, paste the information on the next line

    Is this possible?

    Thanks you

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Input Box with a few uses

    Hi,

    Does the attached help?
    Personally I prefer to use standard functionality as much as possible hence I'm only using VBA to add the record. The data entry is directly in a dedicated area.


    Incidentally would you add your location to your profile. It often helps us when we need to imply regional settings or date formats.
    Attached Files Attached Files
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    09-25-2006
    Location
    North West, UK
    MS-Off Ver
    2010
    Posts
    73

    Re: Input Box with a few uses

    Richard, how wonderfully simple that is, thank you so much

    I was thinking it would be so much more complex. I REALLY have a lot to learn. Biggest thing I think is not to make things so complex

    I will update my profile
    Thank you again

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Input Box with a few uses

    Hi,

    Just noticed an improvement that could be made.

    When a new record is added, the new name should be added to the list of names and the current cells cleared.

    See revised attached.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    09-25-2006
    Location
    North West, UK
    MS-Off Ver
    2010
    Posts
    73

    Re: Input Box with a few uses

    Thanks again Richard

    Just noticed from your profile you are in Stockton Health. I work just down the road in Warrington. Small world

  6. #6
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Input Box with a few uses

    Indeed so.

    And PeteUK also in Warrington and Trevor Shuttleworth just across the border in Manchester are both prolific contributors here.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Data Input Form with number of line items based on user input
    By j_gideon in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-25-2013, 02:54 PM
  2. message input box returns lines/rows based on the input
    By excelandclark in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 06-03-2013, 07:35 PM
  3. [SOLVED] input date column A, increment B, select blank cell in D and input time. in a macro
    By jeffstu in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-19-2012, 11:19 AM
  4. [SOLVED] Macro to manually input which field (column) to autofilter on using an input prompt
    By rin in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-21-2012, 09:35 AM
  5. Using text box input to lookup number and replace based on user input into new column
    By harl3y412 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-28-2011, 03:15 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