Solved

Delphi Programming question

Posted on 1997-09-05
5
127 Views
Last Modified: 2010-04-04
I am trying to open up word, open a txt file, run a macro, save the file as Word 6 format, then close.  I can open word and open the file(FileOpen), but do not know the method for running the macro or quitting.  Does anyone know if these methods are documented anywhere.  I have searched all over.

Malk
0
Comment
Question by:malk
  • 3
  • 2
5 Comments
 
LVL 7

Accepted Solution

by:
RBertora earned 50 total points
Comment Utility
This is how to run a macro:

WordDoc.ToolsMacro('MacroName',1);

To quit use:

WordDoc.FileExit;

Please would you be kind and mark this with an excellent
I am trying to get my name back onto the hi score list :)

if you want a list of these functions I can help you,
but please tempt me with lots more points. :)

Rob
0
 

Author Comment

by:malk
Comment Utility
Very good so far, but I still need to know how to save it in Word 6 format before quitting!

If you send a listing, I will increase points to 50.

mcunniffe@aol.com

Malk
0
 
LVL 7

Expert Comment

by:RBertora
Comment Utility
ok just increase the points....
I will have to send a listing
to you via email though... so you must
gimme your email address....

Rob.

0
 
LVL 7

Expert Comment

by:RBertora
Comment Utility
Dope, ok I see you already gave your address...
increase the points , and you will get the mail..


Rob.

0
 

Author Comment

by:malk
Comment Utility
Have increased points to 50, will double it if you can answer my question on Delphi 3 and website.  I have a real ongoing problem with this.  If you know of someone with a working copy of delphi3 using the internet components supplied, alongside Website, please send me a copy of a simple working program.

Malk
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
How can I open IE in olecontainer? 7 108
Save pdf file to other location 3 72
Convert Jpg /PNG To GIF 5 101
Intraweb download file link ? 1 87
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now