I would like to create an if statement based on an active row.
For example, something like this
If ActiveCell.Row = Range (C:C) Then
In other words, I only want the code to fire if the active cell is in column C
I would like to create an if statement based on an active row.
For example, something like this
If ActiveCell.Row = Range (C:C) Then
In other words, I only want the code to fire if the active cell is in column C
C is a column
Please Login or Register to view this content.
Entia non sunt multiplicanda sine necessitate
Right you are. Thank you.
You're welcome.
Hi scrabtree,
If you are using your code in an Event Macro and only want the macro to execute if the target cell is in Column C then this might be your code:
Read:Please Login or Register to view this content.
http://2toria.com/2010/07/10/using-i...t-in-vba-code/
One test is worth a thousand opinions.
Click the * Add Reputation below to say thanks.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks