J
Jerry West
I'm attempting to get a relative Range like so:
Set xlWrkBook = Excel.Application.Workbooks.Open(sPath$)
Set xlWrkSht = Excel.Application.ActiveSheet
Set xlRng = xlWrkSht.Range("A1")
Set xlRngNew = xlRng.Range("A1")
I would expect that xlRng.Range("A1") would return a reference to the cell
"B1" but it is still "A1".
Can some tell me what I am doing wrong here.
Any insight would be greatly appreciated!!
JW
Set xlWrkBook = Excel.Application.Workbooks.Open(sPath$)
Set xlWrkSht = Excel.Application.ActiveSheet
Set xlRng = xlWrkSht.Range("A1")
Set xlRngNew = xlRng.Range("A1")
I would expect that xlRng.Range("A1") would return a reference to the cell
"B1" but it is still "A1".
Can some tell me what I am doing wrong here.
Any insight would be greatly appreciated!!
JW