Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word Automation Problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00690920
Message ID:
00690925
Vues:
21
Hello Dave

did you turn on the macro recorder and see whats going on when you do a mail merge?

sorry don't have office on my pc right now


>I am working on my first word automation implementation. I am using the samples from the Hentzenwerks Book on Word Automation. My problem comes when I create the Datasource and then try to do a mail merge on that data source. I am trying to make it completely seemless but at this point word is bring up a Open Data Source Dialog which I am trying to bypass. Does Anyone Have an Idea about what I may be Doing wrong when creating the data source? Here is the Code that I am Currently Using.
>
>loDocument.MailMerge.OpenDataSource( lcResultFile, 0, .f.,,.f.,.t.,,,,,,"Entire Spreadsheet" )
>
>This code brings up the word import wizard and makes you choose ok before it continues. How can I bypass this table import wizard? I converting a cursor to a xls format and then doing the open data source.
>
>
>Thanks!
>
>Dave
Stephen McLaughlin
"Sexy Steve Valenteno", "Blastmaster"
stephenmclaughlin@gmail.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform