Compare and Merge Documents

H

Howard Kaikow

When I do a Tools | Compare and Merge Documents via the GUI in Word 2003,
the default is to always check "My Documents".

I'd prefer that the current directory be the default.
So, I modified AutoOpen to set the current directory and the current drive
appropriately.
However, "My Documents" still is the default.

Any workaround?
 
C

Chad DeMeyer

Howard,

Try changing the default file location for Documents (Tools>Options>File
Locations). Or in VBA, Options.DefaultFilePath(wdDocumentsPath).

Regards,
Chad
 
H

Howard Kaikow

That would change the default Documents directory.
I'd rather not change that, tho there might not be an alternative.

--
http://www.standards.com/; See Howard Kaikow's web site.
Chad DeMeyer said:
Howard,

Try changing the default file location for Documents (Tools>Options>File
Locations). Or in VBA, Options.DefaultFilePath(wdDocumentsPath).

Regards,
Chad
 
C

Chad DeMeyer

Howard,

I don't think you can affect the directory for the doc compare any other
way. But you could replace the existing Word command with something like
this:

Sub ToolsCompareVersions()
'
' ToolsCompareVersions Macro
' Compares the active document with an earlier version
'
Dim sLoc As String
sLoc = Options.DefaultFilePath(wdDocumentsPath)
Options.DefaultFilePath(wdDocumentsPath) = <your path here>

Dialogs(wdDialogToolsCompareDocuments).Show

Options.DefaultFilePath(wdDocumentsPath) = sLoc
End Sub

Hope that helps.
Regards,
Chad


Howard Kaikow said:
That would change the default Documents directory.
I'd rather not change that, tho there might not be an alternative.
 
H

Howard Kaikow

Yes, but I do not want to override a Word command in his case.
So I guess I'm stuck.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top