+ Reply to Thread
Results 1 to 2 of 2

How to find row number of ListObject table ?

  1. #1
    Forum Contributor
    Join Date
    07-13-2015
    Location
    Poland
    MS-Off Ver
    MS Office 365
    Posts
    174

    How to find row number of ListObject table ?

    Hi,

    I have set my table to ListObject:

    Dim my_table As Object
    Set my_table = ThisWorkbook.Worksheets("Sheet1").ListObjects("Table1")


    How can I find which table row is selected cell in?


    I tried many ways like:

    My_table.ListRows(selection.address).Range.Row

    But it does not work

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: How to find row number of ListObject table ?

    The answer is probably in here: https://www.thespreadsheetguru.com/b...t-excel-tables

    This is an exceptionally handy reference.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Copy filtered column of ListObject to another ListObject
    By snapfade in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-15-2016, 04:00 PM
  2. Cycle through all records in a table listobject
    By Smally in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-12-2016, 05:03 PM
  3. How can I find out which listobject row is selected?
    By OldManExcellor in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-27-2014, 01:22 PM
  4. [SOLVED] Get Cursor Location in a ListObject table
    By snapfade in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-19-2014, 05:24 PM
  5. [SOLVED] Converting Query Table to ListObject
    By x10sion in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-04-2013, 06:56 AM
  6. Remove Filter From ListObject Table
    By efernandes67 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-06-2011, 04:47 AM
  7. Table ListObject Filter
    By efernandes67 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-23-2011, 07:40 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1