Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word mailmerge with excel error
Message
From
10/07/2007 10:52:40
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
10/07/2007 10:48:35
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01238712
Message ID:
01238910
Views:
17
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform