Good Morning,
I'm trying to use cells in dynamic column H to change certain values in other columns for that corresponding row only.
I'm trying to use the following:
Please Login or Register to view this content.
Good Morning,
I'm trying to use cells in dynamic column H to change certain values in other columns for that corresponding row only.
I'm trying to use the following:
Please Login or Register to view this content.
Please Login or Register to view this content.
Getting "Endif without Block If" error.
It's simple to delete the line of (End If) to remove the error
It's working well after removing this line
Try this :
Please Login or Register to view this content.
Does this kind of code help? It will only fire if you double click between H1 and the last row that has data in column H.
Please Login or Register to view this content.
One test is worth a thousand opinions.
Click the * Add Reputation below to say thanks.
Thanks,
I'm not sure I understand the Range("A12,B2,C3") part.
Perhaps,
Let me explain how I do these types of problems. I really don't know what the VBA will look like if I select a Named Range and then ClearContents. The way I find out is to turn on the Macro Recorder and do the process manually. Then turn off the recording and look at the VBA code that is generated. I then copied and pasted it into the above. It looks like my keystroke actions produced the above two lines of code. I then copy and pasted these two lines of code into my code above.Please Login or Register to view this content.
Does this solve your problem?
Last edited by MarvinP; 12-12-2014 at 01:48 PM.
May be like that :
Please Login or Register to view this content.
Please Login or Register to view this content.
UsingGives me error "Method Range of Object Worksheet failed "Please Login or Register to view this content.
Never mind I think it's fixed. Thanks for the help!
You should have a named range (ClearList)
Formulas Tab >> Name Manager >> Click New >> In the Name Field type ClearList >> In Refers To Field Type:
You can change the start point of the rangePlease Login or Register to view this content.
Yep for some reason I changed the names of the ranges and they didn't save so when I was referring to "ClearList" it was actually named as something else. Thanks!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks