I want to delete values from Cell A3 & M3 when clicked on any column except Column "D" & Column "J", below code doesnt do anything except giving error.
r = Range("D")
c = Range("J")
Range("A3,M3").ClearContents
I want to delete values from Cell A3 & M3 when clicked on any column except Column "D" & Column "J", below code doesnt do anything except giving error.
r = Range("D")
c = Range("J")
Range("A3,M3").ClearContents
kind of strange, but here is the selection change event for that, any other column but columns D & J will clear the two cells.
Goes in the worksheet module
Please Login or Register to view this content.
You do not show whole code but this part...
Please Login or Register to view this content.
Happy with my answer * Add Reputation.
If You are happy with solution, please use Thread tools and mark thread as SOLVED.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks