Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Delphi Programming question

Posted on 1997-09-05
5
Medium Priority
?
134 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 7

Accepted Solution

by:
RBertora earned 100 total points
ID: 1343870
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
ID: 1343871
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
ID: 1343872
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
ID: 1343873
Dope, ok I see you already gave your address...
increase the points , and you will get the mail..


Rob.

0
 

Author Comment

by:malk
ID: 1343874
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

730 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