Returns or sets a String that represents the default folder for publications. Read/write.
expression.PathForPublications
expression Required. An expression that returns one of the objects in the Applies To list.
The new setting takes effect immediately.
You can use an empty string ("") to remove the setting from the Windows registry.
This example sets the default folder for Microsoft Publisher documents.
Sub ChangeDefaultPath()
Options.PathForPublications = "C:\Publications"
End Sub
This example returns the current default path for publications (corresponds to the default path setting on the General tab in the Options dialog box, Tools menu).
Sub PubPath()
Dim strPubPath
strPubPath = Options.PathForPublications
MsgBox strPubPath
End Sub