| Author |
Run a MS Word Macro from my App
|
Dave Donohoe
Ranch Hand
Joined: May 16, 2000
Posts: 73
|
|
Hi there - I have a small app that opens a MS word document. Is it possible to run Macros on this document? I need to insert text at bookmarks within the document after opening it. Can someone tell me how to do this or where to go to find out. Thanks in advance, D
|
 |
Fabrizio Gianneschi
Ranch Hand
Joined: Nov 29, 2001
Posts: 70
|
|
Read this thread: http://forum.java.sun.com/thread.jsp?forum=31&thread=41377 There's a way to create and manipulate MSWord (and ActiveX objects) in Java. ActiveXComponent doc = new ActiveXComponent("Word.Application"); It's based on the com.jacob.activeX library (free). Bye ------------------ Fabrizio Gianneschi Sun Certified Programmer for Java2 Platform
|
Fabrizio Gianneschi<br />SCPJ2, SCWCD, SCBCD
|
 |
 |
|
|
subject: Run a MS Word Macro from my App
|
|
|