A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Page Layout
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

inserting the file name



 
 
Thread Tools Display Modes
  #1  
Old February 26th, 2009, 01:00 AM posted to microsoft.public.word.pagelayout
Nospam
external usenet poster
 
Posts: 14
Default inserting the file name

Hi,

basically I am trying to automate a form as much as possible.

I have a master form in a file called master.doc

it's on the work's network so I don't want to use templets yet.


Q1) Is there a way to automatically insert the document name
(filename) into a document but without the extension?

e.g.
I would like results.doc to be inserted as results



Q2) I would like to have the date automatically inserted.

I have put a save date field into the document but...

as I am not using a templet on the network, I have created a master file
and when I need a new document from it I copy and paste it into the
current directory then I change the file name.

It's a form I have created at work.

But the create date field puts the original create date for when the
master doc was made. Which I understand but I would really like it to
have the new date.

But that leads to another problem;

if the document is opened for printing some people may click 'yes' to
the save changes box that appears before it closes down after printing.

I would rather they didn't save any changed as this would change the
save date filed.
--
Nospam
  #2  
Old February 26th, 2009, 01:29 AM posted to microsoft.public.word.pagelayout
macropod[_2_]
external usenet poster
 
Posts: 2,402
Default inserting the file name

Hi Nospam,

1. Unless you use a macro, no. However, if you right-align a filename field at an appropriate position, you could hide the '.doc'
extension behind a borderless autoshape.

2. Your SAVEDATE problem can be cured by changing the master file to a Word template, which you can do by changing the file's
extension to '.dot'. That should be enough to force Word to create a new document based on your master file instead of opening the
file on your server. That'll take care of the date issue.

--
Cheers
macropod
[MVP - Microsoft Word]


"Nospam" wrote in message ...
Hi,

basically I am trying to automate a form as much as possible.

I have a master form in a file called master.doc

it's on the work's network so I don't want to use templets yet.


Q1) Is there a way to automatically insert the document name (filename) into a document but without the extension?

e.g.
I would like results.doc to be inserted as results



Q2) I would like to have the date automatically inserted.

I have put a save date field into the document but...

as I am not using a templet on the network, I have created a master file and when I need a new document from it I copy and paste
it into the current directory then I change the file name.

It's a form I have created at work.

But the create date field puts the original create date for when the master doc was made. Which I understand but I would really
like it to have the new date.

But that leads to another problem;

if the document is opened for printing some people may click 'yes' to the save changes box that appears before it closes down
after printing.

I would rather they didn't save any changed as this would change the save date filed.
--
Nospam


  #3  
Old February 26th, 2009, 03:26 AM posted to microsoft.public.word.pagelayout
Doug Robbins - Word MVP on news.microsoft.com
external usenet poster
 
Posts: 409
Default inserting the file name

To change the master document to a template, you should use File SaveAs and
select Template as the type of file to which it should be saved, rather than
just changing the file extension.

Also, it is NEVER TOO EARLY to start using a template.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com

"Nospam" wrote in message
...
Hi,

basically I am trying to automate a form as much as possible.

I have a master form in a file called master.doc

it's on the work's network so I don't want to use templets yet.


Q1) Is there a way to automatically insert the document name
(filename) into a document but without the extension?

e.g.
I would like results.doc to be inserted as results



Q2) I would like to have the date automatically inserted.

I have put a save date field into the document but...

as I am not using a templet on the network, I have created a master file
and when I need a new document from it I copy and paste it into the
current directory then I change the file name.

It's a form I have created at work.

But the create date field puts the original create date for when the
master doc was made. Which I understand but I would really like it to have
the new date.

But that leads to another problem;

if the document is opened for printing some people may click 'yes' to the
save changes box that appears before it closes down after printing.

I would rather they didn't save any changed as this would change the save
date filed.
--
Nospam



  #4  
Old February 27th, 2009, 07:53 PM posted to microsoft.public.word.pagelayout
Nospam
external usenet poster
 
Posts: 14
Default inserting the file name

In message , Doug Robbins - Word
MVP on news.microsoft.com writes
To change the master document to a template, you should use File SaveAs and
select Template as the type of file to which it should be saved, rather than
just changing the file extension.

Also, it is NEVER TOO EARLY to start using a template.


Thanks for that.

I now know you can have local dot files.

I will just have to put up with the file name not being inserted without
the extension.

Thanks again

--
Nospam
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:40 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.