ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How to get an index of cell number in selction range. (https://www.excelbanter.com/excel-programming/356494-how-get-index-cell-number-selction-range.html)

[email protected]

How to get an index of cell number in selction range.
 
Hello,
I have a problem with selecting first cel in selection Range or return
an index of the first cell in Selection Cell.

I have something like this:
....................
Range1.Select
"and here I want to Select the first range in selection Range1"
.............
I there any special function of finding first cell in selection range
or returning an index of the first cell??
Thanks for answet
Marcin


Dave Peterson

How to get an index of cell number in selction range.
 
You have a response to your post in .excel

wrote:

Hello,
I have a problem with selecting first cel in selection Range or return
an index of the first cell in Selection Cell.

I have something like this:
...................
Range1.Select
"and here I want to Select the first range in selection Range1"
............
I there any special function of finding first cell in selection range
or returning an index of the first cell??
Thanks for answet
Marcin


--

Dave Peterson

Tom Ogilvy

How to get an index of cell number in selction range.
 
selection(1).Select

If you want to retain all the cells selected and make the first cell the
activecell

Selection(1).Activate

--
Regards,
Tom Ogilvy


" wrote:

Hello,
I have a problem with selecting first cel in selection Range or return
an index of the first cell in Selection Cell.

I have something like this:
....................
Range1.Select
"and here I want to Select the first range in selection Range1"
.............
I there any special function of finding first cell in selection range
or returning an index of the first cell??
Thanks for answet
Marcin




All times are GMT +1. The time now is 06:52 AM.

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