+ Reply to Thread
Results 1 to 4 of 4

Create Macro Asking Input Information for Existing Database & Want to Print out form

  1. #1
    Registered User
    Join Date
    02-20-2013
    Location
    Tennessee, USA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Create Macro Asking Input Information for Existing Database & Want to Print out form

    Hi!

    I am both new to the Forum and to writing macros in Excel. I have an existing database for which I need to write macros asking questions so users can input information into the database. After inputting the information, we want to see the results in the database and we want to print it out. I have tried to create a macro for some of the questions. An example follows:

    Please Login or Register  to view this content.
    This allows me to ask the question, but it does not fill in the information in the database. How do I get it so I can see the information populating the database cells? Also, how do I print out the resulting form?

    Any assistance you can provide will be GREATLY appreciated! Thank you so much!

    Colleen

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Create Macro Asking Input Information for Existing Database & Want to Print out form

    Here's a basic way to do it. Just add questions for each column you wish to collect. The macro will loop so you can enter multiple rows of data, then offer to print the sheet when done.

    You willl need to edit the sheet name:

    Please Login or Register  to view this content.

    Obviously this is print out a row-based database sheet. If your form is more of an actual FORM, then remove the NR stuff and enter the exact cell addresses where you want to enter the values since those WON'T be variable.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    02-20-2013
    Location
    Tennessee, USA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Create Macro Asking Input Information for Existing Database & Want to Print out form

    Jerry,

    Thank you so much for your assistance! I will try it immediately! Thanks, again!

    Colleen

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Create Macro Asking Input Information for Existing Database & Want to Print out form

    If that takes care of your original query, please select Thread Tools from the menu above and mark the thread as solved. Thanks.

+ 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