Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / December 2004

Tip: Looking for answers? Try searching our database.

Default filename when saving a document?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
IvanDr - 22 Dec 2004 00:37 GMT
I currently have a document which is a template (.dot).

When you open the template, it give it a name "Document 1" or similar.

When you go to save the document, it adds the first couple of letters from
the start of the document for a Suggested Filename.

What i would like to do is have the suggested filename be automatically
changed depending on what was entered through the forms.

Does anyone know how this could be done?
Signature

Ivan Dr
Microsoft Technical Support
Australia

Doug Robbins - Word MVP - 22 Dec 2004 10:33 GMT
What sort of Forms?  What control or FormField is it that contains the
string that you want to use as the filename

But the code to use is"

With Dialogs(wdDialogFileSaveAs)
   .Name = [some data from your form]
   .Show
End With

And BTW what part of Microsoft Technical Support do you work in?
Signature

Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested.  Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP

> I currently have a document which is a template (.dot).
>
[quoted text clipped - 7 lines]
>
> Does anyone know how this could be done?

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.