Mail Merge - Excel Data to Word

Crosby87

New Member
Joined
Oct 6, 2009
Messages
42
Hi All,

I have managed to set up my mail merge data in a way that allows me to produce a Remuneration Statement in the exact way i have want and this transposes to word brilliant, where the data is applicable.

My issue is that I have to show 3 years worth of history in the final document, but not all employees are in the schemes over the 3 years (some may be in two schemes for all, some may be in no schemes over the three or some may be in one scheme over the three). The default output is Currently "£-" when i review the merge.

Does anyone know of a way in word/excel via VBA that will allow me to remove the tables if there is no data showing for the employee? Or is the best way going to be to split mail merge files into individual schemes (I want to try and avoid this as much as possible)
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

Forum statistics

Threads
1,214,834
Messages
6,121,877
Members
449,056
Latest member
ruhulaminappu

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top