Results 1 to 10 of 10

Macro that removes empty rows within a table

Threaded View

  1. #1
    Registered User
    Join Date
    06-03-2013
    Location
    US
    MS-Off Ver
    Excel 2016
    Posts
    41

    Post Macro that removes empty rows within a table

    Hello,

    I have a Macro that runs once a week from data off a csv file. There is no set amount of data that is pulled from the csv. its whatever was processed that week. the csv file could have 800 rows or up to 1000 rows of data. here is my issue. I formatted my macro to create a table so i can add specific formulas to the cells to eliminate drag the formulas down. once done i copy/paste with values to remove the formulas. once that step is done this entire sheet is copied into a new excel workbook away from the macro for more manipulation.

    When i filter Column A to remove blanks in the table it copies over just the filtered data and makes new issues on the next workbook. i added a recording in STEP6_1 to filter by blanks and clear content, but now if my data goes to row 545 and deletes the rest. even though i pulled 735 rows from the csv.

    i try go to special to locate blanks instead but is does not consider the empty cells in the table as blanks, so i cant use that in my recording either.

    here is what i need.

    After i have the entire table pasted with values, the recording would then search the last cell in column A that has actual data and delete everything below. if creating a table that grows or shrinks is best let me know. i am still new to coding so bare with me on my macros.

    here is my macro. this happens in STEP6_1
    macro.txt

    running office 2016
    Last edited by airedale360; 08-10-2016 at 12:59 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Go To Last Used Row of Table, Delete all empty rows below it.
    By EnigmaMatter in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 10-03-2014, 04:00 PM
  2. Delete Empty Rows and empty columns from the word table
    By mvneema in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-25-2014, 10:51 AM
  3. [SOLVED] Macro that removes rows based on frequency and copies part of the row to a new sheet
    By njmiller31 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-28-2012, 05:32 PM
  4. Applying autofilter removes rows from sight outside of table
    By mcneill_garr in forum Excel General
    Replies: 5
    Last Post: 08-15-2011, 02:32 PM
  5. Deleting Empty rows in table
    By grey_hair in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-22-2011, 08:19 AM
  6. VBA that removes duplicate rows
    By Blindbert in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-21-2007, 12:32 PM
  7. Pivot Table hiding row removes from row !
    By Fullam in forum Excel General
    Replies: 1
    Last Post: 04-14-2006, 07:50 PM

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