+ Reply to Thread
Results 1 to 7 of 7

User form retrieve data

  1. #1
    Registered User
    Join Date
    03-02-2007
    Posts
    28

    User form retrieve data

    Hi all! I am new to this so forgive the ignorance.

    I've been playing with forms and I know that excel creates a user form from any row of data. it also retrieve the data using the find next command button on the form.

    I've been reading some of the post to see if I can figure out how to do that on my form and quite frankly I get a little lost. So here is my post.

    I created a user form with many fields in it. The form will be used at different times to insert different data. So I wanted to have the users of the form be able to retrieve the data at a later time so they could complete the form and then re-save it.

    Since I don't know how to do that I don't really know what it is called. If you could direct me to some examples I would appreciate it much.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello DSJ,

    When you refer to Excel creating a user form from any row, are you referring to the "Data Form" in the Data menu? Are you trying to create your own form using Visual Basic?

    Sincerely,
    Leith Ross

  3. #3
    Registered User
    Join Date
    03-02-2007
    Posts
    28
    Yes that is what I am doing. I am using VBA to create the form and then run it from a command button.

    Once I am done I plan on having the form open as the worksheet opens, that way users don't even have to look at the data elements behind it.

  4. #4
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello DSJ,

    I have attached a workbook I use as a both a template and training tool. This demonstrates how to construct a simple database using a workbook to store the data and a UserForm to manipulate the data. The UserForm opens when the workbook is loaded and a shortcut ALT+CTRL+R is added to run the form at anytime by the user. I am sure you can gain a few ideas from this. If youi have any questions, just ask.

    Sincerely,
    Leith Ross
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    03-02-2007
    Posts
    28

    Wink

    Leith,

    Thanks so much I think this will get me well on my way I do appreciate your time. If I need further help I will post again.

  6. #6
    Registered User
    Join Date
    10-20-2012
    Location
    St Petersburg
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: User form retrieve data

    This was a big help but I was wondering if there was a way to use a combobox instead of the spinner control to select the desired record. I need to filter the records in the underlying spreadsheet where column A would represent my row number, column B contains the value to search, and column C contains the criteria where I want it to only display records where column C is blank. It would also be necessary to have the resulting values from column B displayed in the combo box in ascending order.

  7. #7
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: User form retrieve data

    jimrood,

    Unfortunately you need to post your question in a new thread, it's against the forum rules to post a question in the thread of another user. If you create your own thread, any advice will be tailored to your situation so you should include a description of what you've done and are trying to do. Also, if you feel that this thread is particularly relevant to what you are trying to do, you can surely include a link to it in your new thread.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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