Close; WordApplication1. Disconnect; end;. Improve this question. Community Bot 1 1 1 silver badge. Add a comment. Active Oldest Votes. Here is a simple example that demonstrates how to do it: var app: TWordApplication; doc: WordDocument; Create nil ; try app.
EndOf wdStory, wdMove ; app. InsertAfter 'Hello, World! EndOf wdStory, wdMove ; doc. Quit; finally app. Free; end; In real code you'd use the named file format constants rather than the magic number Improve this answer. David Heffernan David Heffernan k 40 40 gold badges silver badges bronze badges. This code did the trick after adjusting for an apparently known issue support.
I kept getting "cannot save to the same name as the open doc" error. Made some adjustments to the Word Save options and it worked. Then my. You are always your own worst proof-reader. Thanks for your feedback. Has anyone been able to solve this issue? Appreciate hearing whether a solution is available. Thanks for all help - Regards, Lenny This thread is locked. You can follow the question or vote as helpful, but you cannot reply to this thread.
I have the same question 7. Report abuse. Details required :. Cancel Submit. Jay Freedman MVP. Here are the steps:. As I find the commands I will pass the word along to all of you. You are commenting using your WordPress. You are commenting using your Google account.
You are commenting using your Twitter account. You are commenting using your Facebook account. Notify me of new comments via email. Notify me of new posts via email. Skip to content Menu About Craig Baranovic. Here are the steps: Click the down arrow next to the QAT and select More Commands… toward the bottom of the dropdown At the top of the dialog is another dropdown.
0コメント