+ Reply to Thread
Results 1 to 3 of 3

Conditional empty cells deleting

  1. #1
    Registered User
    Join Date
    07-01-2011
    Location
    Italy
    MS-Off Ver
    Excel 2003
    Posts
    17

    Question Conditional empty cells deleting

    Hello,
    once again i need your precious help.
    I don't know which is the best way to explain it so i'll attach a screenshot of the situation and refer to it.

    I need to delete the empty cells of a row moving the below cells up, when the upper cell linked by the line is empty(green line), while skip the operation where there's something in that cell(red line). The code should be automatic and sequential for all the row of the sheet.
    Thank you very much!
    Attached Images Attached Images
    Last edited by Macuil0101; 07-07-2011 at 08:37 AM.

  2. #2
    Registered User
    Join Date
    07-01-2011
    Location
    Italy
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Conditional empty cells deleting

    If it isn't clear or you think it's impossible, please let me know!

  3. #3
    Registered User
    Join Date
    07-01-2011
    Location
    Italy
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Conditional empty cells deleting

    Maybe I have found a solution but I can't get to it:
    I have used the funcion IF to give the cells given value respect to the adiacent cell, then by using the following macro i select the values corresponding the right cell:
    Please Login or Register  to view this content.
    What i need is that the macro also select the adiacent 3 cells to the right so that i can delete them an move the cells up! I've tried to use offset in the MyRange.Select but it only select the first entry!
    Last edited by Macuil0101; 07-07-2011 at 10:54 AM.

+ 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