J
Jen
Hello,
Is there any rhyme or reason to how Word suggests the
filename for a new doc when you save it for the first
time?
I am working on a template for someone where he would like
to have the filename built from some input the users enter
into a dialog box.
The document has a macro with the dialog box (which also
populates places in the doc) and have been able to create
the string desired for the suggested filename and insert
it into the doc Properties, Title area, but I have not
been able to get Word to consistently draw from this field
to suggest the filename when saving.
Sometimes it will draw from this field, but more often it
ends up taking the first line of the doc. I tried
deleting the title property in the template itself so it
could be inserted cleanly by the macro (and not replace
anything). I also tried adding a bit to my macro that
inserts the desired string into the first line of the doc
(with a style of a very small and white font size so it
doesn't show up on the actual doc). It still wants to
take the following line as the filename. I also tried
changing the style of the following line (which I don't
want as the suggested filename but is the title of the
document) so "title" was not in its stylename, and
changing the style of the first line to include "title" in
its stylename.
The template is a form and has a protected section with
checkboxes. Could the protection be interfering in any
way?
Where does the document property of title on the contents
tab come from? I see that it is set to what the suggested
filename often comes up as, but I cannot figure out how to
change it and can't find anything about it in Word help.
Thanks in advance for any help anyone can provide!
jen
Is there any rhyme or reason to how Word suggests the
filename for a new doc when you save it for the first
time?
I am working on a template for someone where he would like
to have the filename built from some input the users enter
into a dialog box.
The document has a macro with the dialog box (which also
populates places in the doc) and have been able to create
the string desired for the suggested filename and insert
it into the doc Properties, Title area, but I have not
been able to get Word to consistently draw from this field
to suggest the filename when saving.
Sometimes it will draw from this field, but more often it
ends up taking the first line of the doc. I tried
deleting the title property in the template itself so it
could be inserted cleanly by the macro (and not replace
anything). I also tried adding a bit to my macro that
inserts the desired string into the first line of the doc
(with a style of a very small and white font size so it
doesn't show up on the actual doc). It still wants to
take the following line as the filename. I also tried
changing the style of the following line (which I don't
want as the suggested filename but is the title of the
document) so "title" was not in its stylename, and
changing the style of the first line to include "title" in
its stylename.
The template is a form and has a protected section with
checkboxes. Could the protection be interfering in any
way?
Where does the document property of title on the contents
tab come from? I see that it is set to what the suggested
filename often comes up as, but I cannot figure out how to
change it and can't find anything about it in Word help.
Thanks in advance for any help anyone can provide!
jen