+ Reply to Thread
Results 1 to 3 of 3

My macro not selecting enough cells to the right

  1. #1
    Forum Contributor
    Join Date
    11-20-2009
    Location
    Melbourne
    MS-Off Ver
    Excel 365
    Posts
    288

    My macro not selecting enough cells to the right

    The following code is working almost perfectly for what I want. The only problem I am having is that
    the code selects the populated cells from Column 'O' across to Column 'V' inclusive. Can some explain
    why does the code not pick up the remaining 4 populated columns that I need 'W - Z'.
    Thank you all for your advice.

    Please Login or Register  to view this content.
    Last edited by coach.32; 03-28-2013 at 08:24 AM.

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

    Re: My macro not selecting enough cells to the right

    Is row 12 populated till column Z?
    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]

  3. #3
    Forum Contributor
    Join Date
    11-20-2009
    Location
    Melbourne
    MS-Off Ver
    Excel 365
    Posts
    288

    Re: My macro not selecting enough cells to the right

    Hi arlu1201.
    Row 12 was not populated to Column Z. I changed the 12 to a 3 and it worked. Thank you.

+ 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