+ Reply to Thread
Results 1 to 2 of 2

Selecting a range using a loop

  1. #1
    Registered User
    Join Date
    03-15-2011
    Location
    Cottingham, England
    MS-Off Ver
    Excel 2003
    Posts
    28

    Selecting a range using a loop

    Hi there,
    I am creating a data exporter for one of my spreadsheets that will select a large amount of data so I can copy it elsewhere

    I am trying to select a large range of data from multiple columns, however the data is in every two columns and then misses one E.G:

    ABCDEFGHIJKL in the list to the left I would want to select columns AB,DE,GH etc.... until one of the cells contains a value (which is in a variable from an earlier part of the code)

    this is what i have

    Please Login or Register  to view this content.
    what is happening in the above code is it will select the correct cells in the first iteration but then in the second iteration it will not append the new selection to the old one so all I end up with is the cells that are selected in the last iteration of the above

    Can anyone help?
    Last edited by slash_gnr3k; 11-06-2012 at 07:45 AM.

  2. #2
    Registered User
    Join Date
    03-15-2011
    Location
    Cottingham, England
    MS-Off Ver
    Excel 2003
    Posts
    28

    Re: Selecting a range using a loop

    Can anyone help?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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