Consulting

Results 1 to 2 of 2

Thread: Solved: Transfer separate ranges to one range

  1. #1
    VBAX Regular
    Joined
    Jan 2009
    Posts
    57
    Location

    Solved: Transfer separate ranges to one range

    I can use the 'End(xlDown).Row' code to get data from a number of rows in a particular column but not sure how to achieve the following.

    Sheet 1 contains data in A1:A10, A21:A30 and A41:A50

    I want to get the data from all of these ranges and place it on Sheet 2 starting at A1.

    Would it be best to use a loop to copy the first range to A1 then use 'End(xlDown).Row' to find the next place to start witht he next range?

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Record a macro that copies the whole column, thn filter the data on sheet 2, pick out blanks, and delete them.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •