LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Reference Row Address

Hi,

For xl2k onwards, if the values are constants, you could try:

Sub Test()

Dim Rng As Range
Dim v As Variant

Set Rng = Range("Datalist").Columns(3)
.Cells.SpecialCells (xlCellTypeConstants)

msgbox Rng.Address
v = Split(Rng.Address, ",")

End Sub

If you are using an earlier version, do a google search for a Split97
function written by Tom Ogilvy and use instes of the Split function
employed above.

---
Regards,
Norman


"scain2004 " wrote in message
...
If I have a range named Datalist and I want to get the address for every
row that contains values in the third column, how can I get this
address and put it into an array for use with a scrollbar.

Any suggestions?


---
Message posted from http://www.ExcelForum.com/



 
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
relative address or reference James C. Excel Worksheet Functions 1 July 23rd 09 05:37 AM
Get cell reference address Vadims Podans [MVP] Excel Worksheet Functions 2 April 10th 09 08:50 PM
Address Row and column Reference Sandy Excel Worksheet Functions 3 September 21st 07 02:39 PM
using Address reference command Ian Excel Discussion (Misc queries) 2 April 25th 07 01:24 AM
How to reference a cell address in VBA Ivan Excel Programming 1 March 1st 04 03:11 PM


All times are GMT +1. The time now is 07:53 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"