Closed Thread
Results 1 to 4 of 4

userform

Hybrid View

buckshot userform 08-17-2010, 11:13 AM
BigBas Re: userform 08-17-2010, 11:20 AM
buckshot Re: userform 08-17-2010, 11:39 AM
royUK Re: userform 08-17-2010, 11:42 AM
  1. #1
    Registered User
    Join Date
    07-27-2010
    Location
    canada
    MS-Off Ver
    Excel 2007
    Posts
    64

    userform

    Hello
    I have an invoice spreadsheet with a command button that pops up the user form that has about 8 text boxes on it that I enter invoice information that transfers to various cells in my invoice spreadsheet.I can not seem to get information to stay in textbox after it is closed and opened again.Is there a way that I could put another text box beside the original to show what is actually entered these cells from the spreadsheet.Thanks in advance.

  2. #2
    Forum Expert
    Join Date
    01-12-2007
    Location
    New Jersey
    Posts
    2,127

    Re: userform

    Can you post the code that you are currently using with the CommandButton click event? Also, you want the last information that was entered to stay in the textbox even after it has been populated to the worksheet?

  3. #3
    Registered User
    Join Date
    07-27-2010
    Location
    canada
    MS-Off Ver
    Excel 2007
    Posts
    64

    Re: userform

    This is the command button code that takes me to user form.
    Sub Button12_Click()
    UserForm2.Show
    End Sub
    This is the code for the text box
    Private Sub TextBox1_Change()
    ActiveSheet.Unprotect Password:=""
    Range("V58,Q10").Value = TextBox1.Value
    ActiveSheet.Protect Password:=""
    End Sub
    Yes I would like the last bit of information to remain in text box untill I enter different information in textbox.I will eventually have quit a few invoice spreadsheets in workbook,so I would want text box to refer to active sheet If you could help me with this I would appreciate it Thanks

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: userform

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    Don't waste time for members, stick to the original post
    Hope that helps.

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

    Free DataBaseForm example

Closed 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