+ Reply to Thread
Results 1 to 7 of 7

how to make userforms pop up depended on value enter

  1. #1
    Forum Contributor sspreyer's Avatar
    Join Date
    07-05-2013
    Location
    london
    MS-Off Ver
    Excel 2010
    Posts
    180

    how to make userforms pop up depended on value enter

    hi all

    i have some code that when the user double clicks a cell in range eg h1:h174 it pops up userform 2 so user can fill cell from combo box but i would like it to check a value. for example if i had value "head" in c1 when i go cross and double click h1 i would like userfrom1 to pop up and if i enter vaule "block" in c2 and the go cross to h2 and double click cell i would like userform 2 to pop up and if i enter value "crank" in c3 and the go cross to h3 and double click cells i would like userform 3 to pop up and if i enter value "preset" in c4 and the go cross to h4 and double click cells i would like userform 3 to pop up

    thanks in advance here my code:


    Please Login or Register  to view this content.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: how to make userforms pop up depended on value enter

    Is it always the specific cells C1/H1, C2/H2, C3/H3 and C4/H4?

    What should happen for cells H3:H174?
    If posting code please use code tags, see here.

  3. #3
    Forum Contributor sspreyer's Avatar
    Join Date
    07-05-2013
    Location
    london
    MS-Off Ver
    Excel 2010
    Posts
    180

    Re: how to make userforms pop up depended on value enter

    hi thanks for your quick reply
    basically i would like it to check coresponding cell eg even if i enter head in c174 i would like userform 1 to pop up if i double click h174 so before userform pops up i would like to check value in c column same row to which what userform should pop up hope you understand thanks for help you legend

    shane

  4. #4
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: how to make userforms pop up depended on value enter

    Shane

    So the user double clicks in column H and the value in column C in the same row determines which userform to display?
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor sspreyer's Avatar
    Join Date
    07-05-2013
    Location
    london
    MS-Off Ver
    Excel 2010
    Posts
    180

    Re: how to make userforms pop up depended on value enter

    hi

    yes that's right but i have copyed this code and no userforms are poping up

    thanks for your

    help
    Last edited by sspreyer; 09-27-2013 at 12:23 PM.

  6. #6
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: how to make userforms pop up depended on value enter

    Oops, the offset should be -5, not 5.
    Please Login or Register  to view this content.

  7. #7
    Forum Contributor sspreyer's Avatar
    Join Date
    07-05-2013
    Location
    london
    MS-Off Ver
    Excel 2010
    Posts
    180

    Re: how to make userforms pop up depended on value enter

    thanks Norie you total legend

    shane

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Worksheet_Selectionchange depended on optionbuttons selection
    By esbenhaugaard in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-20-2012, 04:57 PM
  2. Userforms: Run same code when enter any textbox
    By Macdave_19 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-16-2009, 08:48 AM
  3. Interesting discovery with Alt+Enter and UserForms
    By Gabor in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-17-2007, 05:25 PM
  4. Date depended update of data
    By Jubelnar in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-03-2005, 06:20 AM
  5. Autonumber that is depended on the content of another cell
    By speedy34 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-03-2005, 03:55 PM

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