ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   extrapolate range coordinates (https://www.excelbanter.com/excel-programming/363722-extrapolate-range-coordinates.html)

Cheer-Phil-ly

extrapolate range coordinates
 
I have a range named "VintageResult" and I want to programmicately change
it's coordinates, so I need to know the address of the current range. I
tried doing...
rngAddr = Range("VintageResults").Address(ReferenceStyle:=xl R1C1), but I get
a runtime error '1004', method range of object failed.

What an I doing wrong?

Dave Peterson

extrapolate range coordinates
 
Could it be that you had an S in one spelling and didn't have it in the other.

VintageResult
VintageResults
???


Cheer-Phil-ly wrote:

I have a range named "VintageResult" and I want to programmicately change
it's coordinates, so I need to know the address of the current range. I
tried doing...
rngAddr = Range("VintageResults").Address(ReferenceStyle:=xl R1C1), but I get
a runtime error '1004', method range of object failed.

What an I doing wrong?


--

Dave Peterson


All times are GMT +1. The time now is 10:23 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com