The Design of Software (CLOSED)

A public forum for discussing the design of software, from the user interface to the code architecture. Now closed.

The "Design of Software" discussion group has been merged with the main Joel on Software discussion group.

The archives will remain online indefinitely.

mail merge and vb

hi all,
  in our application, we read the mail merge tags ( from word doc) and send it to our server, so that it will send us the data only for those tags.

but suppose the mail merge tag is in a text box, our VB application is not able read the tags.

we do some thing like this.

Set wrdDoc = wrdApp.Documents.open(path to word doc)
wrdDoc.Select
wrdDoc.MailMerge.CreateDataSource Name:=strTempDir + "DataDoc.doc"
lMergeFields = wrdMailMerge.Fields.count

so if the tags are in a text box, the lMergeFields is still zero.



could some one please give some pointers on how to make this work?

thanks
dan
dan
Sunday, March 04, 2007
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics
 
Powered by FogBugz