+ Reply to Thread
Results 1 to 3 of 3

Collect User Input Using VBA Form and Record Inputs in Macro Button

  1. #1
    Registered User
    Join Date
    06-27-2008
    Location
    US
    Posts
    1

    Collect User Input Using VBA Form and Record Inputs in Macro Button

    Hi everyone!

    I need to collect user inputs by using a form in Excel and store the user input in a macro button so that when I click on the button, the results will be displayed in the appropriate cells.

    For now, I've designed the form and added a "Confirm" button to the form. The user inputs display in certain cells in the workbook when I click "Confirm". However, if I deleted the data from those cells and want to generate the same results again, I would have to go through the data input process again.

    Is there a way to automatically record the user inputs as I enter them into the form and create a macro button that would regenerate the data in the appropriate cells on click?

    Thanks for the help!

  2. #2
    Forum Expert Simon Lloyd's Avatar
    Join Date
    03-02-2004
    Location
    locked in the cage
    MS-Off Ver
    All the ones my homepage shows
    Posts
    3,161
    Why not supply the workbook and code that you have so far so we can help you progress with what you need?
    Not all forums are the same - seek and you shall find

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    The data can only be input manually or yo can set the ControlSource of the TextBox to a cell. Any changes to the cell will be reflected in the TextBox, similarly if you change the textbox then the cell will change.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ 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