Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word Merge
Message
From
10/08/1998 11:09:31
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
10/08/1998 10:22:42
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00125240
Message ID:
00125260
Views:
16
>Another quick question. I have two Word documents that have different margin widths and other page formats. I want to merge them into one document from VFP, but be able to keep the individual page formats for both. I know how to copy all the text from one to the other but my text takes on the format properties of the form that it is being pasted into.
>
>Any ideas?
>
>TIA!
As I know you're using word.basic (below works for both Word95&word97 with word.basic) :
with oWord
  .insertsectionbreak
*If you know it's just a toggle otherwise need filepagesetup
  .toggleportrait         
  .insertfile(cNewdocName)
endwith
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