Closed Thread
Results 1 to 4 of 4

Selecting all data in specific columns without selecting adjacent column.

  1. #1
    Forum Contributor
    Join Date
    02-04-2014
    Location
    Florida, United States
    MS-Off Ver
    Excel 2010, Excel 2013
    Posts
    366

    Selecting all data in specific columns without selecting adjacent column.

    Hello All,

    I thought I already posted the following, but I cannot find it and did not receive a confirmation e-Mail.

    Using VBA, I need to Select A1:C14.

    The problem is that A1:C14 contains blank cells, and there is also an adjacent column D that I do not want to copy.

    So, UsedRegion and CurrentRegion aren't doing it for me. (It selects Column D too.)

    The code has to be dynamic to accommodate varying size data sets. (Same columns, more rows.)
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    02-04-2014
    Location
    Florida, United States
    MS-Off Ver
    Excel 2010, Excel 2013
    Posts
    366

    Re: Selecting all data in specific columns without selecting adjacent column.

    Forum Moderator,

    Please delete/close this thread.

  3. #3
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Selecting all data in specific columns without selecting adjacent column.

    Please Login or Register  to view this content.

    Edit: Thread closed at OP's request
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Selecting all data in specific columns without selecting adjacent column.

    Thread closed
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Issue w/ Current Region, Select 3 Columns of Data without selecting adjacent columns
    By EnigmaMatter in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-10-2014, 02:57 PM
  2. Selecting data in columns dependant on specific criteria
    By Kenno9 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-26-2013, 10:39 AM
  3. Selecting non-adjacent cells from different rows/columns
    By excelactuary in forum Excel General
    Replies: 4
    Last Post: 03-08-2013, 11:10 AM
  4. Replies: 7
    Last Post: 08-25-2012, 01:25 PM
  5. Selecting rows of data with specific text in a column?
    By Buckster_uk in forum Excel General
    Replies: 1
    Last Post: 01-29-2007, 10:02 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