PC Review


Reply
Thread Tools Rate Thread

ActiveCell.Address to return non Absolute reference

 
 
PCLIVE
Guest
Posts: n/a
 
      9th Jan 2009

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


 
Reply With Quote
 
 
 
 
Mike H
Guest
Posts: n/a
 
      10th Jan 2009
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
>
>
>

 
Reply With Quote
 
JLGWhiz
Guest
Posts: n/a
 
      10th Jan 2009
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
>
>
>

 
Reply With Quote
 
Gary''s Student
Guest
Posts: n/a
 
      10th Jan 2009
Sub dural()
myAddress = ActiveCell.Address(rowabsolute:=False, columnabsolute:=False)
MsgBox (myAddress)
End Sub

--
Gary''s Student - gsnu2007k
 
Reply With Quote
 
PCLIVE
Guest
Posts: n/a
 
      10th Jan 2009
Thanks everyone.
That's what I was looking for.

Paul

"Gary''s Student" <(E-Mail Removed)> wrote in message
news:8B8CDD01-5067-4D20-A012-(E-Mail Removed)...
> Sub dural()
> myAddress = ActiveCell.Address(rowabsolute:=False, columnabsolute:=False)
> MsgBox (myAddress)
> End Sub
>
> --
> Gary''s Student - gsnu2007k



 
Reply With Quote
 
PCLIVE
Guest
Posts: n/a
 
      10th Jan 2009
By the way, I went with the following method:

ActiveCell.Address(0, 0)

Thanks again.


"PCLIVE @cox.net>" <pclive<removeThis> wrote in message
news:scS9l.89$(E-Mail Removed)...
> Thanks everyone.
> That's what I was looking for.
>
> Paul
>
> "Gary''s Student" <(E-Mail Removed)> wrote in
> message news:8B8CDD01-5067-4D20-A012-(E-Mail Removed)...
>> Sub dural()
>> myAddress = ActiveCell.Address(rowabsolute:=False, columnabsolute:=False)
>> MsgBox (myAddress)
>> End Sub
>>
>> --
>> Gary''s Student - gsnu2007k

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do I create a cell reference from ADDRESS function return? Coachdenny Microsoft Excel Worksheet Functions 3 2nd Dec 2008 04:22 AM
Absolute cell reference will not remain absolute. Mike K Microsoft Excel Worksheet Functions 1 8th Oct 2008 07:12 PM
Cell address without absolute reference jayray Microsoft Excel Worksheet Functions 1 24th Apr 2008 12:42 PM
Absolute reference within a formula not really absolute Fred Microsoft Excel Worksheet Functions 3 1st Jul 2004 06:08 PM
Absolute absolute cell reference jon west Microsoft Excel Misc 2 9th Oct 2003 02:32 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:55 PM.