![]() |
#1
|
|||
|
|||
![]()
Hi all,
I've been stuck on this for very long and would appreciate any help whatsoever! I've created a mail merge that populates a table in Word. The table will be populated with the account's sales for 1 of 6 eligible product groups (see below) However, if the account has no sales for a specific product group (Mobile PC - Column 2), then some of the cells are left blank (see below). I'd like to create a VBA code that would detect if any cells are blank within the table and if so, delete the entire column (see final result below, Mobile PC column is deleted). I have been deleting each column manually in the past, but have now been tasked with completing these letters once a week. We have thousands of accounts which means I have to manually delete thousands of columns each week. Any help would be so appreciated, thank you! |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
braddgood | Word VBA | 15 | 10-02-2015 01:54 PM |
![]() |
Rok | Word VBA | 1 | 11-26-2013 01:59 AM |
![]() |
Zimm | Windows | 4 | 11-19-2013 05:07 PM |
Delete lots of empty space between paragraphs. | FieldTechnician | Word | 4 | 10-25-2013 01:14 PM |
![]() |
ubns | Excel Programming | 2 | 08-14-2012 02:01 AM |