+ Reply to Thread
Results 1 to 3 of 3

Determine if cell in last table row is selected

  1. #1
    Forum Contributor michellepace's Avatar
    Join Date
    10-28-2015
    Location
    South Africa
    MS-Off Ver
    2013
    Posts
    132

    Question Determine if cell in last table row is selected

    Hi there,

    The first code block determines if the user selects the last cell in a table and that works just fine for me.

    QUESTION: Could anyone tell me in the second code block what I need to set "lastRow" to in order to determine if my user selects a cell in the last row of my table?

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Thanks in advance,
    Michelle
    Last edited by michellepace; 12-01-2015 at 01:29 AM.

  2. #2
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,879

    Re: Determine if cell in last table row is selected

    Maybe

    Please Login or Register  to view this content.
    Last edited by NeedForExcel; 12-01-2015 at 01:40 AM.
    Cheers!
    Deep Dave

  3. #3
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    Win10/MSO2016
    Posts
    12,974

    Re: Determine if cell in last table row is selected

    only tests the cells in the last row of a named range
    Please Login or Register  to view this content.
    Last edited by protonLeah; 12-01-2015 at 03:44 PM. Reason: modified code
    Ben Van Johnson

+ 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. Determine selected series on chart
    By DPTaylor in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-27-2014, 01:55 AM
  2. Determine number of rows in a table by cell value
    By waggers in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-11-2012, 08:19 AM
  3. Replies: 1
    Last Post: 06-08-2012, 04:20 PM
  4. How can I determine what the range is of a selected list box
    By rschnarr in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-11-2011, 04:37 PM
  5. Replies: 2
    Last Post: 07-30-2010, 07:55 PM
  6. Determine Selected Pivot Table Page Range Filters
    By ShredDude in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-01-2010, 05:17 PM
  7. How to determine what Cell was selected
    By chamdan in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-02-2009, 12:28 PM
  8. Determine if entire row or column is selected
    By MC82 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-28-2006, 07:33 PM

Tags for this Thread

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