+ Reply to Thread
Results 1 to 3 of 3

Deleting Cells

  1. #1
    Forum Contributor
    Join Date
    07-07-2017
    Location
    USA
    MS-Off Ver
    2010
    Posts
    510

    Deleting Cells

    Greetings,
    I am wanting to copy and paste a range (DC12:DC90) to another column range (DD12) and remove the blank cells. However, in the range (DC12:DC90) I am using a formula within those cells (=IF(CZ12=1,DE12,""). I have tried the following 2 macros but the range (DD12) still is showing the blank cells.
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.

  2. #2
    Forum Contributor
    Join Date
    07-07-2017
    Location
    USA
    MS-Off Ver
    2010
    Posts
    510

    Re: Deleting Cells

    I just figured it out. I don't need the typical "copy/paste" coding.
    Please Login or Register  to view this content.

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Deleting Cells

    You can simplify those two macros into one

    Please Login or Register  to view this content.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ 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. Comparing cells in different workbooks and deleting rows in which the cells match
    By slider7420 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-25-2018, 12:24 PM
  2. Deleting Empty Cells Based on Contents of Cells
    By daryl2336 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-12-2017, 12:46 PM
  3. Deleting Cells
    By davehunter in forum Excel General
    Replies: 2
    Last Post: 09-06-2007, 09:02 AM
  4. deleting unused cells / getting rid of inactive cells
    By Woody13 in forum Excel General
    Replies: 3
    Last Post: 01-26-2006, 05:15 PM
  5. Deleting cells
    By KtM in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-23-2005, 08:10 AM
  6. Deleting cells within a row
    By Pablo in forum Excel General
    Replies: 1
    Last Post: 07-11-2005, 04:05 PM
  7. Deleting cells in a row
    By Jeff Wright in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-17-2005, 03:07 AM

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