D
Diana Nemirovsky
I am using AppleScript to automate a mail merge in Word
(v10.1.5/Panther). The data source is an Excel spreadsheet that has
three worksheets in it. When I open the merge document, a dialog box
appears asking which worksheet I want to use as a data source. The
first one listed is the one I want, so just clicking the OK button
will dismiss the dialog and I'm then good to go - I know how to script
the rest.
However, I can't figure out how to either procedurally specify what
worksheet to link to, or how to procedurally post a click to that
button to dismiss the dialog. I've tried looking at the various
libriaries in the Script Editor to no avail. I've tried recording a
macro with Word that should have captured that action, but the VB it
records makes no reference to the dialog box coming up or being
dismissed -- it just ignores it. Any ideas? The office assistant says
the VBA help files are not installed, but they're not on the
installation CD either.
Thanks in advance.
Diana Nemirovsky
(v10.1.5/Panther). The data source is an Excel spreadsheet that has
three worksheets in it. When I open the merge document, a dialog box
appears asking which worksheet I want to use as a data source. The
first one listed is the one I want, so just clicking the OK button
will dismiss the dialog and I'm then good to go - I know how to script
the rest.
However, I can't figure out how to either procedurally specify what
worksheet to link to, or how to procedurally post a click to that
button to dismiss the dialog. I've tried looking at the various
libriaries in the Script Editor to no avail. I've tried recording a
macro with Word that should have captured that action, but the VB it
records makes no reference to the dialog box coming up or being
dismissed -- it just ignores it. Any ideas? The office assistant says
the VBA help files are not installed, but they're not on the
installation CD either.
Thanks in advance.
Diana Nemirovsky