Hi Jeremy,
The File Properties dialog box is hard to control through VBA since it
is more of a Windows system dialog box rather than a Word dialog box.
They don't include an access key for the tab so you can't use SendKeys
to select the appropriate tab, Word will remember the last active tab
and you can not rely on a specific tab as the default, so something
like:
On Error Resume Next
SendKeys "^{TAB}"
Application.Run "FileProperties"
Is unreliable.
If you need just the summary information then perhaps this will work
instead:
With Dialogs(wdDialogFileSummaryInfo)
.Show
End With
If this will not work then you might try posting to one of the Word
VBA newsgroups. Perhaps one of the gurus there will have figured out
this beast.
--
Please post all follow-up questions to the newsgroup. Requests for
assistance by email can not be acknowledged.
~~~~~~~~~~~~~~~
Beth Melton
Microsoft Office MVP
Word FAQ:
http://mvps.org/word
TechTrax eZine:
http://mousetrax.com/techtrax/
MVP FAQ site:
http://mvps.org/
Jeremy said:
Thank you Beth for this. It has worked (when I figured out what the 'ThisDocument' Module was
The next question though is whether it is possible to bring up the
properties defaulting to the summary tab rather than general.