I found the following code on another site. It compares two documents and produces a new version with tracked changes. It works well, however, the code makes you browse by folder but I need to browse by file. I tried replacing msoFileDialogFolderPicker with msoFileDialogFilePicker but was getting tied up in knots with this line:
strFileName = Dir(strFolderA & strFileSpec)
...it kept returning a bad result message (strFileName was null)
Can someone with more VBA knowledge update the code so that I can pick files as opposed to folders?
Please Login or Register to view this content.