[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 205
  • Last Modified:

URGENT: How do I get the default document path in Word ?

For GrahamScan

How do I get the default document path in Word ?

In Word options you can set the path of where the documents are saved by default (ie instead of my documents)

MTIA

Darrin
0
dwe0608
Asked:
dwe0608
1 Solution
 
Patrick MatthewsCommented:
Hi Darrin,

Try:

Application.Options.DefaultFilePath = "c:\foo"

Regards,

Patrick
0
 
GrahamSkanCommented:
I think you need a parameter:
Application.Options.DefaultFilePath(wdDocumentsPath) = strPath
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now