V
Vik Holmberg
I use bookmarks, not formfields, to merge data from a vb6
app into a word template through automation. This
process works very well and is much faster than using
bookmark formfields. My problem is some bookmarks do not
retain/hold formatting codes such as bold & underline.
This seems to happen when there are multiple columns in a
table and the bookmark is the first character in the
column. Is there someway to get all the bookmaks to take
the same formatting?
When I used formfield bookmarks, I could leave underlines
in places where no data was written. Using just a
bookmark, the space is empty and looks bad. If I insert
a "_" after the bookmark, I end up with a "X_", without
the quotes, in the space. This smippet is an example of
how I merge to the template:
oWD.Bookmarks("A1C20").Range.Text = "X"
Can I extend the range to replace the first character
after the insertion point with the X? As always, I thank
the contributors for their time and effort, Vik.
Please don't reply to the email address since it is my
MSDN alias.
app into a word template through automation. This
process works very well and is much faster than using
bookmark formfields. My problem is some bookmarks do not
retain/hold formatting codes such as bold & underline.
This seems to happen when there are multiple columns in a
table and the bookmark is the first character in the
column. Is there someway to get all the bookmaks to take
the same formatting?
When I used formfield bookmarks, I could leave underlines
in places where no data was written. Using just a
bookmark, the space is empty and looks bad. If I insert
a "_" after the bookmark, I end up with a "X_", without
the quotes, in the space. This smippet is an example of
how I merge to the template:
oWD.Bookmarks("A1C20").Range.Text = "X"
Can I extend the range to replace the first character
after the insertion point with the X? As always, I thank
the contributors for their time and effort, Vik.
Please don't reply to the email address since it is my
MSDN alias.