+ Reply to Thread
Results 1 to 8 of 8

Select rows when multiple cells are selected

  1. #1
    Registered User
    Join Date
    09-26-2008
    Location
    Idaho
    Posts
    5

    Select rows when multiple cells are selected

    Hello,

    I have multiple cells selected in the worksheet. I want to select all the rows that have selected cells.


    Thank you,

  2. #2
    Valued Forum Contributor
    Join Date
    08-26-2008
    Location
    singapore
    Posts
    626
    Press Ctrl and click the leftmost row number
    I need your support to add reputations if my solution works.


  3. #3
    Registered User
    Join Date
    09-26-2008
    Location
    Idaho
    Posts
    5
    I have a lot of cells highlighted, and it will take along time to click on each row. Is there a command (programming) that can do this?

  4. #4
    Valued Forum Contributor
    Join Date
    08-26-2008
    Location
    singapore
    Posts
    626
    A sample please.

  5. #5
    Registered User
    Join Date
    09-26-2008
    Location
    Idaho
    Posts
    5
    I only highlighted a few cells, however there will be a lot more highlighted. How can I select all the rows at once if there is a highlighted cell without clicking each row?

    Thank you for trying to help me.
    Attached Images Attached Images

  6. #6
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582
    There is no shortcut. SHIFT + Spacebar highlights the active row (e.g. from whichever cell is active) but not the other highlighted cells. You'll need VBA.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  7. #7
    Registered User
    Join Date
    01-18-2011
    Location
    chester, england
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Select rows when multiple cells are selected

    Quote Originally Posted by ChemistB View Post
    There is no shortcut. SHIFT + Spacebar highlights the active row (e.g. from whichever cell is active) but not the other highlighted cells. You'll need VBA.
    I would quite like to know the VBA for that.

    I thought it might just be

    Please Login or Register  to view this content.
    but this just highlights the row of the last selected cell rather than the rows of all selected cells.

    Thanks for any help

  8. #8
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Select rows when multiple cells are selected

    Please Login or Register  to view this content.

+ 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. Hiding Rows under the influence of multiple values.
    By joavery in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-03-2008, 08:30 AM
  2. Select Multiple Rows
    By edisonl in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-08-2008, 08:49 PM
  3. Joining multiple cells into one line.
    By DaithiW in forum Excel General
    Replies: 3
    Last Post: 03-26-2008, 03:34 PM
  4. Loop to select range of cells representing a month....
    By finlejb in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 02-02-2008, 08:00 PM
  5. Selected cells in Vba?
    By Johann in forum Excel General
    Replies: 3
    Last Post: 10-18-2006, 08:33 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