N
NIck S
Hello ....
I am sitting in front of a system where I cannot see the contents and
structure of a macro that provides me with a list of mailmerge variables.So
I cannot change it and I cannot see or directly read from its datasource.
Here is the 'problem'
We have a 3rd party application that integrates with MS Word. Part of the
functionality
provided is a set of mail merge variables, whos source is ultimately the
application
database (via some com/VB interface).
We want to be able to access the value of these mail merge variables from
within
a VB macro. However when inserted into the document the fields appear as
~[FieldName:XXX] rather than the usual «FieldName». We have not seen this
format before - any ideas? Also when the variables are inserted into the
document (i.e. before the merge) should we be able to get their value via
VBA? We can do this in a simple example using the standard «FieldName»
format.
When the document is merged is there any way in VBA of getting the value of
the merged
variables - even if the merged document is a new one?
nick
I am sitting in front of a system where I cannot see the contents and
structure of a macro that provides me with a list of mailmerge variables.So
I cannot change it and I cannot see or directly read from its datasource.
Here is the 'problem'
We have a 3rd party application that integrates with MS Word. Part of the
functionality
provided is a set of mail merge variables, whos source is ultimately the
application
database (via some com/VB interface).
We want to be able to access the value of these mail merge variables from
within
a VB macro. However when inserted into the document the fields appear as
~[FieldName:XXX] rather than the usual «FieldName». We have not seen this
format before - any ideas? Also when the variables are inserted into the
document (i.e. before the merge) should we be able to get their value via
VBA? We can do this in a simple example using the standard «FieldName»
format.
When the document is merged is there any way in VBA of getting the value of
the merged
variables - even if the merged document is a new one?
nick