Error Checking in Excel
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 3 of 3

Thread: UserForm

  1. #1
    New Member
    Join Date
    Apr 2002
    Posts
    23
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    I have a UserForm with TextBox(about 70 of them) The user input the data into TextBox & when finished clicks the Enter (cmButton1), which then enters the infomation into worksheet cells. A message box comes up and asks if there is more input, if Yes another UserForm Opens,(this is similar to the 1st UserForm just smaller), if No then UserForm hides. I then save the Workbook. When I reopen Workbook and click for UserForm how can I save original information entered without reentering it? Any help?
    Bill

  2. #2
    MrExcel MVP Ivan F Moala's Avatar
    Join Date
    Feb 2002
    Location
    Auckland, New Zealand
    Posts
    4,209
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    On 2002-04-27 16:30, wbromberek wrote:
    I have a UserForm with TextBox(about 70 of them) The user input the data into TextBox & when finished clicks the Enter (cmButton1), which then enters the infomation into worksheet cells. A message box comes up and asks if there is more input, if Yes another UserForm Opens,(this is similar to the 1st UserForm just smaller), if No then UserForm hides. I then save the Workbook. When I reopen Workbook and click for UserForm how can I save original information entered without reentering it? Any help?
    Bill
    In your Userform initialise routine
    just do the revere of your command button
    routine ie. Assign the Textbox to the range
    you assigned your Textbox to update with.

    eg Textbox1.text = range("A1").text


    Kind Regards,
    Ivan F Moala From the City of Sails

  3. #3
    Board Regular
    Join Date
    Feb 2002
    Posts
    117
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    What do you mean by saving the original info? Its already saved on the spread sheet that you posted it to. If your asking how would you view it then use Ivan's method.

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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