+ Reply to Thread
Results 1 to 3 of 3

selecting columns

  1. #1
    Registered User
    Join Date
    08-27-2009
    Location
    Gib
    MS-Off Ver
    Excel 2007
    Posts
    62

    Question selecting columns

    Hi,
    I have a table, that while writing a vba code I need to select the first column in the table (A) and the last column with data inj the table ( unknown which column it is).
    The last column might change (meaning that it sometimes column B, somestimes column Y etc...depends on the data).
    I need a way to select only the the first AND the last column in that table(actually it's the last column with data on that sheet).
    I'm sure there is must be a way I just don't know it!
    thanks
    Last edited by Abroza; 09-08-2009 at 02:31 AM.

  2. #2
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: selecting columns

    I need a way to select only the the first AND the last column in that table(actually it's the last column with data on that sheet).
    This will select the the first column down the last used row and the last column down to the same last row.

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    08-27-2009
    Location
    Gib
    MS-Off Ver
    Excel 2007
    Posts
    62

    Re: selecting columns

    it works,
    thanks!!!!!

+ 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