filepath to startup folder under VBA

Robie
5StarLounger
Posts: 656
Joined: 18 Feb 2010, 14:26

filepath to startup folder under VBA

Post by Robie »

Is it possible to get hold of the path to the startup folder under VBA in word? I tried creating a macro and changing it in Word but it gives me a blank macro!

Thanks.
Robie.

User avatar
HansV
Administrator
Posts: 78629
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: filepath to startup folder under VBA

Post by HansV »

The Startup folder for Word is returned by

Application.Options.DefaultFilePath(wdStartupPath)
Best wishes,
Hans

Robie
5StarLounger
Posts: 656
Joined: 18 Feb 2010, 14:26

Re: filepath to startup folder under VBA

Post by Robie »

HansV wrote:The Startup folder for Word is returned by

Application.Options.DefaultFilePath(wdStartupPath)
Thanks as usual Hans.