+ Reply to Thread
Results 1 to 6 of 6

Text Box to Cells

  1. #1
    Registered User
    Join Date
    02-09-2005
    Posts
    79

    Text Box to Cells

    I have attached an excel file with an example of what I am trying to do. "Enter Input" pushbutton on "Data Sheet" worksheet prompts a user form. I would like the user to enter a value or choose a default value of 100. If he chooses the default value, I would like that value to appear on the text box before the user confirms it by pressing OK button. Whatever the value is entered in the text box must be displayed in the yellow cell in the worksheet named "Input Summary". Can someone please help me how I can do it? Thank you.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,525
    Hi there,

    Instead of a user form, look at the attached where I've used an Input Box to achieve the same.

    HTH

    Robert
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    02-09-2005
    Posts
    79
    Trebor76,

    Thanks for the reply. I see a problem with this approach. I need to have more than one input box in the same user with unique labels for each one of them. Can I use your method to have multiple input boxes in the same userform? I also want to have a separate pushbutton for default.Thanks.
    Last edited by vioravis; 06-04-2007 at 06:42 PM.

  4. #4
    Forum Contributor boylejob's Avatar
    Join Date
    02-22-2007
    Location
    Forest City, NC
    MS-Off Ver
    2003
    Posts
    562
    vioravis,

    See if this does what you are wanting.

    Put code on your UserForm
    Please Login or Register  to view this content.
    Put this in the module
    Please Login or Register  to view this content.
    Sincerely,
    Jeff

  5. #5
    Registered User
    Join Date
    02-09-2005
    Posts
    79
    Thanks, jeff. This works fine. Is there an efficient way to do it if I have such 20 different userforms with each userform having 10-20 input boxes?
    Last edited by vioravis; 06-04-2007 at 06:51 PM.

  6. #6
    Forum Contributor boylejob's Avatar
    Join Date
    02-22-2007
    Location
    Forest City, NC
    MS-Off Ver
    2003
    Posts
    562
    vioravis,

    That is a pretty broad question. 20 UserForms with 10-20 input boxes has the potential for a lot of variables going in a lot of different directions.

    Can you explain your situation a little further. There might be a simple efficient way of handling your situation, but we need to know more about what exactly you are wanting to do.
    Last edited by boylejob; 06-04-2007 at 07:28 PM.

+ 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