Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word mailmerge with excel error
Message
De
10/07/2007 10:52:40
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
10/07/2007 10:48:35
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Divers
Thread ID:
01238712
Message ID:
01238910
Vues:
7
>>Probably could be omitted specifying the second parameter wdOpenFormat but the question is:
>>Why you get the dialog and I don't? (my settings are all set to EN-US).
>>Cetin
>good question. Since I just installed office 2003 everything should be set to MS defaults.
>
>Don't waste anymore time over it. Thanks for all your effort. I think I will stick with word as the data holder.
>
>It's just strange that with everything going XML this is not an option.
>
>Peter

BTW try DisplayAlerts = .f. I'm not sure that it'd help.
Another workaround would be:
_cliptext = FileToStr("myTabDelimited.txt")
.Documents.Add
With .ActiveDocument.Range
    .Paste      && Paste VFP data
    .ConvertToTable(wdSeparateByTabs,,lnCols) && Convert to table
endwith
Save this one and it'd be a DOC which word knows how to open best.

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform