J
John Morley
The big issue is users installing templates we distribute into the wrong
templates folder on their Macintosh (if there are multiple template folders
containing a Normal template).
The solution I want to develop is a macro, built into a Word file that I can
email; then, the user just clicks the button to run the macro that finds
where the templates are now and moves them to where they should be
(Options.DefaultFilePath(wdUserTemplatesPath)).
My question is, from within Word on a Macintosh, how do I get VBA to return
the path to a Word template if I know only the file name of that Word
template?
This is a problem only on Macintosh, as the Windows installer is able to
query the registry and determine where Microsoft Word is looking for its
templates. On the Mac side, we are using the StuffIt Installer Maker and
understand that it is not possible for it to obtain the path to the Templates
folder being used by Word.
Instead, it looks for the first Microsoft Word Template file named Normal it
can find and then installs the templates there. This works fine unless the
hard drive contains multiple Normal templates (and the wrong one is found
first) or Word is configured to look elsewhere for templates to use.
Any help would be very appreciated.
templates folder on their Macintosh (if there are multiple template folders
containing a Normal template).
The solution I want to develop is a macro, built into a Word file that I can
email; then, the user just clicks the button to run the macro that finds
where the templates are now and moves them to where they should be
(Options.DefaultFilePath(wdUserTemplatesPath)).
My question is, from within Word on a Macintosh, how do I get VBA to return
the path to a Word template if I know only the file name of that Word
template?
This is a problem only on Macintosh, as the Windows installer is able to
query the registry and determine where Microsoft Word is looking for its
templates. On the Mac side, we are using the StuffIt Installer Maker and
understand that it is not possible for it to obtain the path to the Templates
folder being used by Word.
Instead, it looks for the first Microsoft Word Template file named Normal it
can find and then installs the templates there. This works fine unless the
hard drive contains multiple Normal templates (and the wrong one is found
first) or Word is configured to look elsewhere for templates to use.
Any help would be very appreciated.