LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default HOW TO: Get cell address from a range

Kevin,

The address property takes 4 properties, RowAbsolute, COlumnAbsolute,
ReferenceStyle and RelativeTo. The first two goveren the absolute/relative
format and both default to True(that is, absolute). So to get a fully
relative address simply use

rgeMyCell.Address(False,False)

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Kevin McCartney" wrote in message
...
HI TWIMC,

If I set a range to the cell B1 I'd like to be able to a get the cell

address in the style of B1 not B$1$, so what code do I need to use instead
of:

rgeMyCell.Address


TIA
KM



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
cell address for first value to appear in a range Dave F[_2_] Excel Discussion (Misc queries) 5 March 19th 08 05:51 PM
find last cell in range with data, display cell address sevi61 Excel Worksheet Functions 14 October 29th 07 08:36 PM
Cell address in a range starguy Excel Discussion (Misc queries) 7 May 3rd 06 11:58 AM
cell address rather than range name Angi Bemiss Excel Discussion (Misc queries) 1 December 1st 05 12:46 AM
HOW TO: Get cell address from a range Juan Pablo González Excel Programming 0 May 4th 04 03:42 PM


All times are GMT +1. The time now is 01:40 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"