+ Reply to Thread
Results 1 to 1 of 1

unable to delete entire row of empty cells in columns across multiple sheets.

  1. #1
    Registered User
    Join Date
    11-09-2014
    Location
    US
    MS-Off Ver
    2013
    Posts
    1

    unable to delete entire row of empty cells in columns across multiple sheets.

    Hello, I have a large matrix that I need to break down. I take a mastersheet and copy it multiple times. The name of the sheet is determined by the value of cell in Range A3:AG3. So I copy, create, name and then hide all the columns except for the column that matched the name of the sheet. I also delete all the rows that have empty cells in the column displayed. It all works except for ActiveSheet.Columns(firstCol).SpecialCells(xlCellTypeBlanks).EntireRow.Delete. It copy, creates, names, hides for all the sheets but it only deletes the rows with the empty cells for the first copy created. How do I make it delete across all the worksheets it creates?

    Please Login or Register  to view this content.
    Last edited by JBeaucaire; 11-09-2014 at 09:06 PM. Reason: Added missing CODE tags. Please read and follow the Forum Rules, link above in the menu bar. Thanks.

+ 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. [SOLVED] If multiple columns are blank, delete entire row
    By steven_e in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-11-2013, 04:18 PM
  2. Delete row if multiple columns empty
    By amadman114 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-22-2013, 06:53 AM
  3. [SOLVED] Delete multiple empty cells in multiple columns and moving data up, witout Macros
    By CoraF in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-30-2012, 08:23 AM
  4. Delete entire column if all cells in a certain range are empty
    By Andula in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-26-2011, 06:33 AM
  5. macro to delete entire rows if certain cells are empty
    By wrightie in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 04-07-2009, 05:46 AM

Tags for this Thread

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