Link to home
Start Free TrialLog in
Avatar of Euro5
Euro5Flag for United States of America

asked on

vba calculate first row of named range

I have a named range, the first column I need to change the values in first row of the range.
The before & after is below:
User generated imageUser generated image
ASKER CERTIFIED SOLUTION
Avatar of Wayne Taylor (webtubbs)
Wayne Taylor (webtubbs)
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This is simpler. nr is the name of the named range.
Range("nr").Row
Avatar of Euro5

ASKER

Thank you!!
@Euro5: I'm surprised you'd rather loop through a group of rows then get the value immediately, but of course it's your choice.
Get what value Martin? Even now, I can't see any requirement of a value being returned.
Well the question title contained "calculate first row of named range" and I assumed that the author wanted to find out the row number of the first row in a named range.