+ Reply to Thread
Results 1 to 3 of 3

Show Userform on Cell Select

  1. #1
    Valued Forum Contributor
    Join Date
    05-14-2009
    Location
    gold coast
    MS-Off Ver
    Excel 2007
    Posts
    843

    Show Userform on Cell Select

    Hello,

    I have a sheet that inserts data into the next blank row. the offset 4 value is a date.

    Can i have it so when i click the date on this sheet it shows the userform.

    what i cant get is how to do it since i dont know what row the date will be in.

    I tryed
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by D_Rennie; 07-15-2009 at 10:49 AM.

  2. #2
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    re: Show Userform on Cell Select

    Give this code a try.
    You had your worksheet code in the wrong module. Worksheet code must go in the worksheet module, not in "Thisworkbook" module.

    Right click the sheet tab, choose View Code, then paste this code into the code window.

    Please Login or Register  to view this content.

  3. #3
    Valued Forum Contributor
    Join Date
    05-14-2009
    Location
    gold coast
    MS-Off Ver
    Excel 2007
    Posts
    843

    Re: Show Userform on Cell Select

    Perfect, Thankyou.

    Just put in for blank cell If Target.Address = rngDate.Address And rngDate <> "" Then

    Cheers

+ 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