Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Insert Word File
Message
From
28/05/2002 10:37:04
 
 
To
28/05/2002 09:44:14
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00661714
Message ID:
00662016
Views:
24
Hi Tamar,

Thanks for the reply...You're right, that was part of the problem.

I finally solved it by taking a little different approach. I set up the bookmarks first and then went back and inserted what I wanted at each. It turned out well although I have much more to learn about doing this type of thing.

I got my idea from a sample chapter out of your book I downloaded from Hentzenwerke (CH6). I also just placed an order the entire book. I think it will save me some time in the future.

Many thanks.....


>>I'm using the following code to insert a table, populated from a cursor, into Word, then add some info on the end. I would also like to insert anther word document after that all that info has been added. Everything I try replaces or inserts itself into the table. What am I missing.
>
>
>>WITH loWord
>>	.collapse() && go to end of bookmark
>>	.insertfile(thisform.text1.Value) && insert word document
>>ENDWITH
>>
>
>You need to get beyond the table, as I think you know. I'm not sure why this WITH uses loWord rather than loRange.
>
>Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform