+ Reply to Thread
Results 1 to 7 of 7

Worksheet Change

  1. #1
    Forum Contributor
    Join Date
    09-05-2012
    Location
    It's more fun in the Philippines :D
    MS-Off Ver
    Excel 2007
    Posts
    209

    Worksheet Change

    Hi Guys,

    I have a worksheet with a drop down data validation. listed (A,B,C)

    Under my code in

    Please Login or Register  to view this content.
    Once I select any on the validation, I will put text in "A1" and it is ok.
    My problem is when I delete the text selected on the data validation,
    i want the text in "A1" to be also deleted.

    Any idea guys?

    Thanks in advance.
    thisisgerald
    Last edited by arlu1201; 10-11-2012 at 05:03 AM. Reason: Use code tags in future.
    Don't forget to mark your thread as [SOLVED].

  2. #2
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Worksheet Change

    which cell has the dropdown?
    Josie

    if at first you don't succeed try doing it the way your wife told you to

  3. #3
    Forum Contributor
    Join Date
    09-05-2012
    Location
    It's more fun in the Philippines :D
    MS-Off Ver
    Excel 2007
    Posts
    209

    Re: Worksheet Change

    Quote Originally Posted by JosephP View Post
    which cell has the dropdown?
    I have the drop down at Range("G2")

    Basically I have a lot of Drop down list starting at Range("G2") plus 5 rows on the next
    data validation with the same list depending on a condition. (data validation was generated by vba) So I also need to get which row I changed the value on column G.
    Last edited by thisisgerald; 10-11-2012 at 06:10 AM.

  4. #4
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Worksheet Change

    if you want to monitor G2:G7 for example
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    09-05-2012
    Location
    It's more fun in the Philippines :D
    MS-Off Ver
    Excel 2007
    Posts
    209

    Re: Worksheet Change

    I'm currently working with your code.
    I have a question. What if in Range("A1"), it is merged until column C?

    it would be the same as like this?
    Please Login or Register  to view this content.

  6. #6
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Worksheet Change

    no you'd need
    Please Login or Register  to view this content.
    even better-don't use merged cells ;-)

  7. #7
    Forum Contributor
    Join Date
    09-05-2012
    Location
    It's more fun in the Philippines :D
    MS-Off Ver
    Excel 2007
    Posts
    209

    Re: Worksheet Change

    It's now okay.

    I'll have to use your code and expand it as it fits my needs.

    Thanks for your logic JosephP!

    Rep. added!

+ 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