+ Reply to Thread
Results 1 to 7 of 7

Combine x1down and x1right

  1. #1
    Forum Contributor
    Join Date
    10-14-2011
    Location
    London, England
    MS-Off Ver
    O365
    Posts
    180

    Combine x1down and x1right

    Can I combine these to select an unknown range from (example) C7:L20?

    At the moment I can start in C7 and select everything in the column using:

    Please Login or Register  to view this content.
    Which works fine. I then tried:

    Please Login or Register  to view this content.
    But this didn't work. Any tips?

  2. #2
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Combine x1down and x1right

    try
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    10-14-2011
    Location
    London, England
    MS-Off Ver
    O365
    Posts
    180

    Re: Combine x1down and x1right

    Thanks, but that selects things above it too, which I don't want....I only want things below and to the right.

  4. #4
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Combine x1down and x1right

    maybe so
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    10-14-2011
    Location
    London, England
    MS-Off Ver
    O365
    Posts
    180

    Re: Combine x1down and x1right

    Ah, thank you. I've managed to do it in two lines

    Please Login or Register  to view this content.
    I thought, there just might be a nice, neat one liner....

    Appreciate the help.

  6. #6
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,517

    Re: Combine x1down and x1right

    Quote Originally Posted by CraigMcKee View Post
    I thought, there just might be a nice, neat one liner....
    Please Login or Register  to view this content.

  7. #7
    Forum Contributor
    Join Date
    10-14-2011
    Location
    London, England
    MS-Off Ver
    O365
    Posts
    180

    Re: Combine x1down and x1right

    Thank you!

+ 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. Changing X1Down loop to work with empty rows
    By anakaine in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-24-2016, 09:23 PM
  2. Selection Autofill combined with End(x1Down)
    By LewisLonsdale in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-12-2015, 10:56 AM
  3. Can anyone explain x1Down in plain English for me?
    By MattMurdoch in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-08-2013, 07:49 AM
  4. [SOLVED] Using Combine macro to combine multiple worksheets - need to modify to paste formulas
    By DLSmith in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-26-2012, 09:07 AM
  5. Inconsistency in selecting a range using x1down
    By Jmeyering in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-24-2011, 04:20 PM
  6. selection.end(x1Down) feature
    By johndough185 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-10-2007, 09:40 AM
  7. Macro to copy a row, then insert shift:=x1Down
    By Lost in Alabama in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-09-2006, 08:00 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