Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 08-31-2014, 10:50 PM
macropod's Avatar
macropod macropod is offline Macro to loop through all cells in a table produced by a mail merge Windows 7 64bit Macro to loop through all cells in a table produced by a mail merge Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

From what I can tell from your macro code, the start/stop asterisks are not included in the data source. In that case, you need a field coded as:
{QUOTE "*{MERGEFIELD barcode}*" \* Charformat}
or:
{QUOTE "*«barcode»*" \* Charformat}
where 'barcode' is you mailmerge field's name and with just the 'Q' in 'QUOTE' formatted in the 3of9 barcode font & point size that you require.

Note: The field brace pairs (i.e. '{ }') for the above example are all created in the document itself, via Ctrl-F9 (Cmd-F9 on a Mac); you can't simply type them or copy & paste them from this message. Nor is it practicable to add them via any of the standard Word dialogues. Likewise, you can't type or copy & paste the chevrons (i.e. '« »') - they're part of the actual mergefields, which you can insert from the mailmerge toolbar.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to loop through all cells in a table produced by a mail merge Mail Merge on Optional Row(s) of a Table Chris Wong Mail Merge 3 08-21-2019 12:55 PM
Macro to loop through all cells in a table produced by a mail merge Mail Merge Into Dynamic Table Jag618 Mail Merge 1 03-04-2013 11:26 PM
Macro to loop through all cells in a table produced by a mail merge mail merge with table nadja Mail Merge 5 03-06-2012 05:41 PM
Macro to loop through all cells in a table produced by a mail merge Macro to Merge Cells Row By Row in a Table KD999 Word VBA 4 02-20-2012 08:51 PM
Macro to loop through all cells in a table produced by a mail merge Word Doc Macro (mail Merge) ajolson1964 Word VBA 1 05-10-2011 10:15 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:56 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft