shba,
I received your PM which contained the following:

Originally Posted by
shba

Originally Posted by
tigeravatar
shba,
Welcome to the forum! In the future, please wrap your code in code tags (see link in my sig for how).
As for your question, you need to change the If Target.Column = 1 line. So if you wanted the code to monitor columns A, C and K (which are column numbers 1, 3, and 11) the line would look like this:
Hey thank you for the reply, but this isn't my question. I need this rule to work on many different files A, C and K won't always be the correct columns I need the rule to work on the column with the name IP but that column will sometimes be column A other times C and so forth.
Thanks
Yair
Ugly part first, from the forum rules:
4. Don't Private Message or email Excel questions to moderators or other members. (or Word, Access, etc.) The point of having a public forum is to share solutions to common (and sometimes uncommon) problems with all members.
Alright, on to your question. So basically the Target.Column needs to be dynamic. You can accomplish this using the Range.Find method like so:
Bookmarks