Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
acw acw is offline
external usenet poster
 
Posts: 19
Default How to get the position of a cell in Excel named range?

Alan

Try
For each ce in range("a1:a5")
msgbox ce.address
next ce

This will loop through the cells a1 - a5 and show the
address.

Tony
-----Original Message-----
Hi Groups, I'd like to know if someone could show me how

to get the position
(col, row) of a cell in excel named range. What I need

to do is: I will
need to loop through a named range to find a particular

cell by value, once
I found it, I need to know the position of that cell.

I'm doing this with
C#, but any VB code would be help too. Thanks!.


.

Reply
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
Referring to specific cell in named range in Excel formula Nigel Barton Excel Worksheet Functions 3 August 18th 09 04:25 PM
Finding the position of the i-th non blank cell in a vertical range vsoler Excel Worksheet Functions 6 September 11th 08 06:59 AM
Referencing a named range based upon Range name entry in cell Barb Reinhardt Excel Worksheet Functions 14 June 20th 07 07:19 PM
inserting a named range into new cells based on a named cell Peter S. Excel Discussion (Misc queries) 1 June 4th 06 03:53 AM
Position of a cell in a range zangief Excel Worksheet Functions 4 September 27th 05 03:07 PM


All times are GMT +1. The time now is 08:20 AM.

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

About Us

"It's about Microsoft Excel"