Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 34
Default Excel 2007 ListObject question

Yep, that does work out nicely. Thanks!

On Aug 28, 5:52 am, "Jim Rech" wrote:
Maybe you want something like this:

Sub a()
Dim MyList As ListObject
Dim RowNum As Long
Set MyList = ActiveCell.ListObject
RowNum = ActiveCell.Row - MyList.HeaderRowRange.Row
MsgBox RowNum
End Sub

--
Jim"Ferris" wrote in message

oups.com...
|I have a data table in xl2007 that is a ListObject. What I would like
| to be able to do is know which ListRow has been selected. In other
| words, if I manually select a cell in a ListObject is there a way to
| programatically know which ListRow that is? Banging my head for a bit
| trying to noodle it out, any help will be greatly appreciated.
|
| 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
ListObject - XML question Raghu Excel Programming 0 February 16th 07 11:54 PM
Update a ListObject from a another Excel sheet Thomas V Excel Programming 0 October 5th 06 03:48 PM
Excel 2003 ListObject question Frederick Chow Excel Programming 2 March 1st 06 08:52 AM
ListObject in Excel 2000 ? NJ Excel Guru Excel Discussion (Misc queries) 1 November 15th 05 12:40 PM
LISTOBJECT question Marek Excel Programming 0 September 5th 04 10:21 AM


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

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"