Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Accessing the comment dialog for a document version

Status
Not open for further replies.

scousethemoose

Programmer
Jul 14, 2002
69
AU
Hi I'm currently working on a more usable versioning tool for Microsoft Word. I have almost finshed it but I have reached a brick wall.

I'm trying to display the comment dialog which is displayed for a specific version when the user clicks view comments command button.

I can access the versions dialog and even the save new versions dialog but not the comments, which I assume if it is possible I would have to pass the version item number to show the correct comment.

Dialogs I can access

Code:
'Show versions main dialog
Application.Dialogs(wdDialogFileVersions).Show

'Show save new version dialog
Application.Dialogs(wdDialogFileSaveVersion).Show

I want to be able to do something like the code below.

Code:
'Show version comments
Application.Dialogs(wdDialogVersionComment).item(i).Show

Is it possible to do? Any help greatly appreciated.
 
Hey I've actually worked round this. I use a message box but if anyone knows the correct way to display the dialog it would be of great help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top