ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   cell addresses (https://www.excelbanter.com/excel-programming/327082-cell-addresses.html)

geoff

cell addresses
 
Hi
If there are 3 unnamed ranges on sheets(1)say B3:B5,
C6:C10 and E10:E13 how can I get the address of the first
cell in each range?


thanks




Tom Ogilvy

cell addresses
 
for each ar in Selection.Areas
msgbox ar(1).Address
Next

--
Regards,
Tom Ogilvy

"geoff" wrote in message
...
Hi
If there are 3 unnamed ranges on sheets(1)say B3:B5,
C6:C10 and E10:E13 how can I get the address of the first
cell in each range?


thanks






geoff

cell addresses
 
thank you
-----Original Message-----
for each ar in Selection.Areas
msgbox ar(1).Address
Next

--
Regards,
Tom Ogilvy

"geoff" wrote in

message
...
Hi
If there are 3 unnamed ranges on sheets(1)say B3:B5,
C6:C10 and E10:E13 how can I get the address of the

first
cell in each range?


thanks





.



All times are GMT +1. The time now is 04:25 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com