Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() myAddress = ActiveCell.Address This will return something like "$A$1". Is there a way to have this return the non-absolute reference of "A1" withoug having to use a worksheetfunction such as Substitute? Thanks in advance. Paul |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
maybe myAddress = ActiveCell.Address(0, 0) Mike "PCLIVE @cox.net" wrote: myAddress = ActiveCell.Address This will return something like "$A$1". Is there a way to have this return the non-absolute reference of "A1" withoug having to use a worksheetfunction such as Substitute? Thanks in advance. Paul |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Or:
myAddress = ActiveCell.Address(False, False) Same thing as Mike's, except using the constant instead of the value. "PCLIVE @cox.net" wrote: myAddress = ActiveCell.Address This will return something like "$A$1". Is there a way to have this return the non-absolute reference of "A1" withoug having to use a worksheetfunction such as Substitute? Thanks in advance. Paul |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sub dural()
myAddress = ActiveCell.Address(rowabsolute:=False, columnabsolute:=False) MsgBox (myAddress) End Sub -- Gary''s Student - gsnu2007k |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks everyone.
That's what I was looking for. Paul "Gary''s Student" wrote in message ... Sub dural() myAddress = ActiveCell.Address(rowabsolute:=False, columnabsolute:=False) MsgBox (myAddress) End Sub -- Gary''s Student - gsnu2007k |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
By the way, I went with the following method:
ActiveCell.Address(0, 0) Thanks again. "PCLIVE @cox.net" <pclive<removeThis wrote in message ... Thanks everyone. That's what I was looking for. Paul "Gary''s Student" wrote in message ... Sub dural() myAddress = ActiveCell.Address(rowabsolute:=False, columnabsolute:=False) MsgBox (myAddress) End Sub -- Gary''s Student - gsnu2007k |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how do I create a cell reference from ADDRESS function return? | Excel Worksheet Functions | |||
Changing absolute address to a relative address | Excel Programming | |||
Cell address without absolute reference | Excel Worksheet Functions | |||
How do I avoid excel change absolute address to relative address | Excel Discussion (Misc queries) | |||
what is difference between absolute address and relative address? | Excel Discussion (Misc queries) |