+ Reply to Thread
Results 1 to 7 of 7

Select Range using variables

Hybrid View

  1. #1
    Registered User
    Join Date
    11-29-2009
    Location
    dubai
    MS-Off Ver
    Excel 2003
    Posts
    56

    Re: Select Range using variables

    with the above code the column selection is ok but it selects 5 extra rows

    Thanks
    R

  2. #2
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: Select Range using variables

    Can't tell without seeing your worksheet.
    But most likely the last 5 cells in column A are not empty (although they give that impression). Delete those last 5 rows and try again.



  3. #3
    Registered User
    Join Date
    11-29-2009
    Location
    dubai
    MS-Off Ver
    Excel 2003
    Posts
    56

    Re: Select Range using variables

    I think you are right, I tried the code in a new sheet and it works perfectly fine.

    Thanks again.

    R

+ 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