+ Reply to Thread
Results 1 to 4 of 4

Range issue

  1. #1
    Forum Contributor
    Join Date
    10-28-2003
    Location
    Happyville, USA
    MS-Off Ver
    365
    Posts
    294

    Range issue

    Hello,

    The code I have below will identify if anything is in cell P2 and then copy the data under it and place it in the column to the left:

    Please Login or Register  to view this content.
    The code has been working great but I have been running into a problem. If all the cells under P2 are blank the formula will copy the blank cells and place them in the column O. How can I tell VBA to not attempt to select anything under P2 if the cell directly below (P3) is blank.

    Thanks so much in advance.

    Eddie

  2. #2
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Range issue

    Please Login or Register  to view this content.
    Please ensure you mark your thread as Solved once it is. Click here to see how.
    If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.

  3. #3
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Range issue

    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    10-28-2003
    Location
    Happyville, USA
    MS-Off Ver
    365
    Posts
    294

    Re: Range issue

    That seems to be working. Thanks so much.

    Eddie

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Range - Issue
    By adda4u in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-14-2013, 02:37 AM
  2. [SOLVED] Issue with Sorting a Range: Sort method of Range class failed
    By helpmeinexcel in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-12-2013, 01:51 PM
  3. Replies: 0
    Last Post: 06-19-2012, 05:15 PM
  4. Issue copying multicell range to destination workbook range
    By kuraitori in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-24-2008, 02:48 PM
  5. [SOLVED] Range issue...
    By James in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-04-2005, 05:05 PM

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