![]() |
|
#19
|
|||
|
|||
|
OK Paul ... we're moving forward now!
I've got the VBA code working well now. The merge is working, and the code is allowing the flexibility for the recipient list I need through the variable SQL. I'm tackling the header and footer fields now, which aren't populating in the VBA merge. All that is being displayed is the final merged document is <<fieldname>>. Quote:
I am also curious about, in the sample report you provided with me, the date fields: {REF Mydate \* charformat} Can you explain how this works? "Mydate" isn't a field in my database ... so where did the date information come from? There is no formatting switch in your fieldcode, so where did the formatting come from. I believe, and correct me if I'm wrong, charformat ensures that the field font properties stay consistent with what is intended. DOes it ensure the number format remains as intended as well? |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Switches | ilovemypuppy | Word | 2 | 02-08-2012 04:28 PM |
Index switches
|
cksm4 | Word VBA | 2 | 02-03-2011 07:21 AM |
| Mail merge switches | Jan Collier | Mail Merge | 0 | 08-29-2010 06:06 AM |
| Command Line Switches | Ringmaster | Office | 0 | 08-10-2010 06:27 AM |
| Help with switches: Word mail merge with Excel | ks_ | Mail Merge | 0 | 12-09-2009 05:09 PM |