+ Reply to Thread
Results 1 to 4 of 4

Just a simple userform inputbox needed

  1. #1
    Registered User
    Join Date
    08-16-2012
    Location
    Almere
    MS-Off Ver
    Excel 2003
    Posts
    48

    Just a simple userform inputbox needed

    I have an excel sheet with some buttons on it.
    These buttons just do a simple task. When you click on button 1 a value of a cel is counted +1 and when you click on button 2, this value is counted -1, nothing can go wrong....
    But now I want a userform that is opened when I click button 1, and in this userform, the user sees the question "why he/she pressed the button" and the user can typ in a comment. This comment is then used to display next to the cell where the value is changed.
    I'm looking through a lot of forums and see many codes that can do all kind of things, but just not the simple task that I need.
    I know how to open a userform after clicking the button but I need some help 'building' the userform itself.
    How do I need to make a code that asks the user for input and then use this input again on the main sheet.....
    Hopefully I explained good enough what I need and is there somebody who can help me..

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

    Re: Just a simple userform inputbox needed

    Will you always be writing the comment to the same cell?

    This uses an inputbox

    Please Login or Register  to view this content.
    Hope that helps.

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

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    08-16-2012
    Location
    Almere
    MS-Off Ver
    Excel 2003
    Posts
    48

    Re: Just a simple userform inputbox needed

    Dear RoyUK,

    This helped me indeed, I now was able to create the inputbox and I can use the data, thanks !

  4. #4
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Just a simple userform inputbox needed

    @ minifreak

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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