Hi again all. The following code works as written. BUT, every time I enter a new row of data, it calls the macro for every cell in the range with a value <>"" . I only need it to call the macro for the current or active row.
What needs to be changed?
Here is the code
What I think I need is something like this. I know I'm missing something, but I can't get it to work.
Thanks,
Jim
What needs to be changed?
Here is the code
VBA Code:
Dim Cell As Range
For Each Cell In Range("Q6:Q5000")
If Cell.Value <> "" Then Call Copyemail
Next Cell
What I think I need is something like this. I know I'm missing something, but I can't get it to work.
VBA Code:
Dim Cell As Range
Range = ("Q6:Q5000")
If Rows(ActiveCell.Row).Value <> "" Then
Call Copyemail
Thanks,
Jim