on 08-25-2016 9:59 PM
Can anyone describe how to do this? Alternatively, if I could figure out how to address the server in an olecontrol via script that would work. I'm trying to write script to MS Word to automate some document tasks, yet still allow the user to see the document contents on my window in the olecontrol.
Thanks - Jeff
Hi Jeff,
if you have a word document in a ole control you can access the ole server using the .object notation. You have to activate the document fist.
e.g.
IF NOT ole_control.object.Saved THEN ole_control.object.Save()
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
79 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.