+ Reply to Thread
Results 1 to 6 of 6

Selecting Multiple cells when using "Selection.End(xlUp)"

  1. #1
    Registered User
    Join Date
    12-22-2011
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2007
    Posts
    26

    Selecting Multiple cells when using "Selection.End(xlUp)"

    Hi,

    Hope everyone is well.

    I'm would like to shorten the following, if possible. I've been looking all over and haven't found a way to select multiple cells on a single "Selection.End(xlUp)" or down for that matter. LOL

    Trying to select col E through H in one swoop.

    Thanks in advance.


    Please Login or Register  to view this content.
    Last edited by Alvin Hunter; 06-13-2018 at 08:23 PM.

  2. #2
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,535

    Re: Selecting Multiple cells when using "Selection.End(xlUp)"

    Please Login or Register  to view this content.
    BTW, it's not clear to me what you want done after that though. Maybe you can let us know.

  3. #3
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Re: Selecting Multiple cells when using "Selection.End(xlUp)"


    As a good code often does not need to select anything …

  4. #4
    Registered User
    Join Date
    12-22-2011
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: Selecting Multiple cells when using "Selection.End(xlUp)"

    Thank you jolivanes. This works perfect. I was simply trying to shorten the code. The next step is "FillDown" to bring down some formulas from the above cells.

  5. #5
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,535

    Re: Selecting Multiple cells when using "Selection.End(xlUp)"

    Re: The next step is "FillDown" to bring down some formulas from the above cells.
    That's what I thought but I did not know how far down.
    Anyway, if you're happy with what you've got so far, that's good for now.

  6. #6
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,098

    Re: Selecting Multiple cells when using "Selection.End(xlUp)"

    This will fill down Cols E:H to the last row on Col D
    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. range("e1" & cells(rows.Count,5).end(xlup)).Select
    By sohaila in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-09-2014, 09:27 AM
  2. Replies: 12
    Last Post: 11-07-2013, 12:06 PM
  3. Replies: 3
    Last Post: 11-06-2013, 03:05 PM
  4. Macro Assistance Multiple Selection Items and "Blanking Cells"
    By gravel in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-31-2011, 09:55 AM
  5. Macro Error with code "Range("A65536").End(xlUp).EntireRow.Insert"
    By lukasj13 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-30-2010, 08:48 PM
  6. Cells(Rows.Count, "b").End(xlUp).Row
    By Kate in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-25-2006, 11:31 AM
  7. Help with "Selection.End(xlUp).Row"
    By Bird in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-11-2006, 09:00 PM
  8. Replies: 4
    Last Post: 04-25-2005, 10:06 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