![]() |
Writing macro in delphi for ms word
Hi All
Sorry I can not speak german well :cry: I have a question. How can i write a macro for ms Word in delphi? best regards apolon |
Re: Writing macro in delphi for ms word
Hi apolon :hi:
Unfortunatly I'm not one to be bothered with OLE & Word automation (would be fortunatly for me :zwinker: ). But maybe ![]() I just took a look on google using these searchwords ![]() Good look... |
DP-Maintenance
Dieses Thema wurde von "Daniel" von "VCL-Komponenten und Controls" nach "Sonstige Fragen zu Delphi" verschoben.
|
Re: Writing macro in delphi for ms word
Hi apolon!
I'm not sure, but I think, it is not possible to write macros for ms word in delphi because this macros are written in basic or in another ms language (I hope that's right). What do you want to do? Do you want to remote control Word (printing, new document...)? Then you could use the server components that are included in Delphi (7?). Or, if you want to call word macros from delphi: ![]() Bye, Stanlay :hi: PS: I'm sure, I made a lot of mistakes :oops: please ignore them :wink: ps: I see, Robert posted the same link :wink: |
Re: Writing macro in delphi for ms word
Hi my friends
Thanks a lot for your answers. I want to put a memo on form and write VBA Codes then send these codes to word and name them to a macro in my Doc file. IS it possible? |
Re: Writing macro in delphi for ms word
Hi! I can't believe that this is possible because the possibility of executing external source in a word document, would be a serious security leak :gruebel:
Bye, Stanlay :hi: |
Re: Writing macro in delphi for ms word
As I said I got no experiences with OLE & Word automation, but let me suggest you a way.
As you propably know, these VBA modules are saved in plain text. Maybe you can build one dynamicly and add it to the user's normal.dot. Now you can access all your macros, just like shown in the link above. Or you can get a clue of ![]() p.s.: Don't hurt me for writing crap :angle2: |
Re: Writing macro in delphi for ms word
@Robert: Is it possible to change the normal.dot during using word or editing a word document? :gruebel:
|
Re: Writing macro in delphi for ms word
OK, you did it, now i'm curious... :lol:
I'll give it a try... |
Re: Writing macro in delphi for ms word
Sorry, i was forced ( :zwinker: ) to watch "Finding nemo".
I'll get back to it tomorrow... |
Alle Zeitangaben in WEZ +1. Es ist jetzt 15:28 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz