Consulting

Results 1 to 10 of 10

Thread: Data Input in Excel

  1. #1

    Data Input in Excel

    I would like to be able to input data into excel with a easy pop up, that would have inputs for Invoice #, Amount, Account Number, etc.

    Does anyone know how to do this or any good links on the web on how to do this?

    Thanks.

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location

  3. #3
    Administrator
    VP-Knowledge Base
    VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,489
    Location
    Hi Jerry
    Welcome to VBAX
    Here's a simple example you can expand on. Remember to give your controls meaningful names and always use Option Explicit in your code. I've assumed you may be making multiple entries in a list.
    Regards
    MD
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

  4. #4
    Thanks for the example. What is the best way to look at it to inderstand how you created it?

    Thanks

  5. #5
    Administrator
    VP-Knowledge Base VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,489
    Location
    Have a look at this site from our Resources page
    Excel -- UserForms
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

  6. #6
    Thank you, I will take a look and use it.

    Thanks again.

  7. #7
    VBAX Master Norie's Avatar
    Joined
    Jan 2005
    Location
    Stirling, Scotland
    Posts
    1,831
    Location
    Why not use the built-in data form under Data>Form...?

  8. #8
    Administrator
    VP-Knowledge Base VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,489
    Location
    Not a bad idea, Norie. I keep forgetting about that facility.
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

  9. #9
    VBAX Master Norie's Avatar
    Joined
    Jan 2005
    Location
    Stirling, Scotland
    Posts
    1,831
    Location
    Personally I would go for a userform, it gives you a lot more control.

    The only problem with that is obviously you need a fair bit of code unless
    it's just basic data input.

    Another option is an add-in, I'm sure I saw one that included an advanced data form but I can't remember where.

  10. #10
    VBAX Master
    Joined
    Jul 2006
    Location
    Belgium
    Posts
    1,286
    Location

    dataform ...

    Quote Originally Posted by Norie
    Another option is an add-in, I'm sure I saw one that included an advanced data form but I can't remember where.
    I believe J. Walkenbach has created such an enhanced dataform. The use of it is free but if you want to see the code you'll have to pay.

    Charlize

Posting Permissions

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