ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   excel range (https://www.excelbanter.com/excel-programming/427520-excel-range.html)

Sean Farrow

excel range
 
Hi:
How can I retrieve the currently selected range on the active shhet? Would
ActiveCell do the trick or do I need something else?
Cheers
Sean.



__________ Information from ESET NOD32 Antivirus, version of virus signature database 4035 (20090425) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com





Rick Rothstein

excel range
 
You would use the Selection range. For example...

MsgBox Selection.Address

The ActiveCell range is the individual cell that is selected... for a
selection, it is the cell within the selection that is not shaded.

--
Rick (MVP - Excel)


"Sean Farrow" wrote in message
...
Hi:
How can I retrieve the currently selected range on the active shhet? Would
ActiveCell do the trick or do I need something else?
Cheers
Sean.


__________ Information from ESET NOD32 Antivirus, version of virus
signature database 4035 (20090425) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com






Sean Farrow

excel range
 
Hi Rick:
Thank you, once again.
Sean.
"Rick Rothstein" wrote in message
...
You would use the Selection range. For example...

MsgBox Selection.Address

The ActiveCell range is the individual cell that is selected... for a
selection, it is the cell within the selection that is not shaded.

--
Rick (MVP - Excel)


"Sean Farrow" wrote in message
...
Hi:
How can I retrieve the currently selected range on the active shhet?
Would ActiveCell do the trick or do I need something else?
Cheers
Sean.


__________ Information from ESET NOD32 Antivirus, version of virus
signature database 4035 (20090425) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com






__________ Information from ESET NOD32 Antivirus, version of virus
signature database 4035 (20090425) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com






__________ Information from ESET NOD32 Antivirus, version of virus signature database 4035 (20090425) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com






All times are GMT +1. The time now is 12:41 PM.

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