T
Thomas Lindberg
I need to programmatically, WordVBA, access the path info that I can find in
Tools-Options-File Locations: Documents
Seems simple enough:
myDocPath=Options.DefaultFilePath(wdDocumentsPath)
But when using this, the myDocPath variable actually shows the last accessed
File-Open path or the File-Save As path,
not what I read in Tools-Options-File Locations: Documents
Why? Bug? My error or misunderstanding?
There is an alternative for the path, the 'wdUserOptionsPath', but that is
not defined nor is it intuitively clear to me.
What is meant with 'wdUserOptionsPath'?? Is this the Path I'm looking for??
It seems so from non-exhaustive tests but I would like to know for sure
before I distribute the macro
Any better ideas how to obtain what the User actually put in
Tools-Options-File Locations: Documents???
Any hints appreciated!!!
Thomas
Tools-Options-File Locations: Documents
Seems simple enough:
myDocPath=Options.DefaultFilePath(wdDocumentsPath)
But when using this, the myDocPath variable actually shows the last accessed
File-Open path or the File-Save As path,
not what I read in Tools-Options-File Locations: Documents
Why? Bug? My error or misunderstanding?
There is an alternative for the path, the 'wdUserOptionsPath', but that is
not defined nor is it intuitively clear to me.
What is meant with 'wdUserOptionsPath'?? Is this the Path I'm looking for??
It seems so from non-exhaustive tests but I would like to know for sure
before I distribute the macro
Any better ideas how to obtain what the User actually put in
Tools-Options-File Locations: Documents???
Any hints appreciated!!!
Thomas