+ Reply to Thread
Results 1 to 4 of 4

Select Last Cell in Selected Range

  1. #1
    Forum Contributor
    Join Date
    11-10-2011
    Location
    New York, NY
    MS-Off Ver
    MS Office: Excel 365
    Posts
    154

    Select Last Cell in Selected Range

    Hi --

    How would I select the last cell in a slected range?

    Note: the selected range is only 1 column wide, but row count can differ

    Thanks!

  2. #2
    Forum Contributor
    Join Date
    09-19-2016
    Location
    Alaska
    MS-Off Ver
    MS 2010, 2013, 2016
    Posts
    265

    Re: Select Last Cell in Selected Range

    Ctrl+Shift+down arrow or Ctrl+Shift+right arrow. If there are empty spaces in between it will stop there though.

  3. #3
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    11,785

    Re: Select Last Cell in Selected Range

    cells(selection.row+selection.rows.count-1,selection.column).select?
    Ben Van Johnson

  4. #4
    Forum Contributor
    Join Date
    11-10-2011
    Location
    New York, NY
    MS-Off Ver
    MS Office: Excel 365
    Posts
    154

    Re: Select Last Cell in Selected Range

    Quote Originally Posted by protonLeah View Post
    cells(selection.row+selection.rows.count-1,selection.column).select?
    perfect!
    thanks!

+ 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. Select next non empty cell from selected list range with VBA
    By chris.cy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-14-2016, 01:16 PM
  2. [SOLVED] Need a formula/function to auto select MIN value from selected range.
    By Imran Magsi in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 04-22-2016, 03:55 AM
  3. How do you select the range next to your selected range?
    By max3732 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-14-2014, 01:01 PM
  4. Select a Range of Cells Offset from a Selected Merged cell
    By kelvomatic in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-07-2013, 05:52 PM
  5. How to select the last cell in a currently selected range
    By Launchnet in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 11-20-2011, 05:09 PM
  6. Macro to find empty cell and select range to print selected.
    By vincentwongau@gmail.com in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-15-2006, 04:10 AM
  7. Compare a selected Range with a Named range and select cells that do not exist
    By PCLIVE in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-18-2005, 03:05 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