Help with an Excel macro
"Dave Peterson" wrote in message
...
Select the cell that contains that important information.
Then give it a nice name by typing something like this in the name box (to
the
left of the formula bar):
myRowNumber
(remember to hit enter when finish your typing!)
Then change the code to something like:
rng = "W" & ws.Range(myRowNumber).Value
(I like to qualify the property!)
Brilliant! Many thanks,
V
|