I was attempting to use a string to store the value of ActiveCell.Address, and that worked great. What I want to do now is to take that value, and split it to where I can use the new data to form a new range. For example, this is kind of what I want to do:
Stephen![[infinity] [infinity] [infinity]](/data/assets/smilies/infinity.gif)
"Jesus saith unto him, I am the way, the truth, and the life:
no man cometh unto the Father, but by me." John 14:6 KJV
Code:
Columns.SpecialCells(xlCellTypeLastCell).Select
CurrentRange = ActiveCell.Address
MyArray = Split(CurrentRange, "$")
CurrentColumn = MyArray(1)
CurrentRow = MyArray(2)
CurrentColumn = CurrentColumn - 1
Range(CurrentColumnCurrentRow).Select
[GREEN]'Not sure of the right format to use here,
'since the format is Range(a1) where a is the column,
'and 1 is the row. Maybe someone could help me there as well?
Stephen
![[infinity] [infinity] [infinity]](/data/assets/smilies/infinity.gif)
"Jesus saith unto him, I am the way, the truth, and the life:
no man cometh unto the Father, but by me." John 14:6 KJV