Changes

Jump to: navigation, search

Including Tables in a Word Merge Document

303 bytes added, 13:12, 26 April 2015
HTML <table> Tag
===HTML Tables===
Instead of creating a table in the MS Word Merge document, you can define HTML on the MS Word Merge field that will be used to create a table in a normal bookmark on the MS Word Merge document.<br />When defining a HTML table do not use CSS rules as they will not convert. Use the old way HTML 4 table tag syntax formatting.<br />List of working tags can be find in the link below: [http://www.w3schools.com/tags/tag_table.asp w3schools: HTML <table> Tag list]<br />[]
* Example:
<pre>
bookmarkname=<html><table stylewidth="width:100%" border="1" cellspacing="0" cellpadding="3"><tr><th>#</th><th>Date</th><th>Details</th></tr>[#(?object=activity)<tr><td stylewidth="width:10%">~Index~</td><td stylewidth="width:40%"><!--@sscalculation(DATE_FORMAT("~startdate~","%d %M %Y"))--></td><td stylewidth="width:10%">$Activity Details$</td></tr>#]</table></html>;
</pre>
 
==See Also==
{{WordMergeLinks}}
Smartstaff
171
edits

Navigation menu