Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Setting the filename for 1. time save
Hi,
When we create a new document from a template, some fields are created. From these fields the filename for the document can be set. When Save is selected the first time it seems that the Title is used as a starting point. However there's not much idea in having the Title equal to the filename. Is there a way to tell word what it should use for filename ? Regards Bo Rasmussen |
#2
|
|||
|
|||
Bo,
Something like: Sub FileSaveAs() Dim oName As String oName = ActiveDocument.Fields(1).Result With Dialogs(wdDialogFileSaveAs) .Name = oName .Show End With End Sub Will use the value in the first field in the document. |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Filename changes during save as from template | Microsoft Word Help | |||
Filename Suffix Auto-Append on Save As... | Microsoft Word Help | |||
Save mail merge letters with a filename in a specific location Hel | Mailmerge | |||
I am prompted to Save As everytime I Print. Is there a setting t. | Microsoft Word Help | |||
VBA for Filename Creation without document Save | Microsoft Word Help |