Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How do I make .doc NOT display at the end of the name?
When I name and document in Word and save it, it automatically displays .doc
at the end of it, both at the top of the screen and also when I go to open a file in Word. This means that when I put a field in my footer to put the document name, it is also putting .doc at the end of it which I naturally don't want displayed in the footer of my document. |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How do I make .doc NOT display at the end of the name?
..doc is part of the file name. In the Windows operating system, file
extensions are how it identifies what program opens what. In Word itself, unless you use a macro to intervene, you're pretty much stuck with .doc when using the filename field. You can enclose the entire file name in quotes when saving (e.g., "this is my file name"), which will force Word to save without an extension. But, you will no longer see a Word icon when you look at the file in Windows Explorer or Word's file dialogs... nor will you be able to open those files by double-clicking in Windows Explorer (at least not in any useful way). Windows doesn't like files not to have extensions. If you want something without .doc in the footer, why not use document title, instead? You can make it whatever you like--even the file name without the .doc, if you prefer. You can then put this into a document footer using the { title } field. If you're using Word 2003, you can set the document title using File - Properties - Summary tab, Title field. In Word 2007, choose Office button - Prepare - Properties. -- Herb Tyson MS MVP Author of the Word 2007 Bible Blog: http://word2007bible.herbtyson.com Web: http://www.herbtyson.com "Riddy" wrote in message ... When I name and document in Word and save it, it automatically displays .doc at the end of it, both at the top of the screen and also when I go to open a file in Word. This means that when I put a field in my footer to put the document name, it is also putting .doc at the end of it which I naturally don't want displayed in the footer of my document. |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How do I make .doc NOT display at the end of the name?
On Sun, 14 Sep 2008 20:39:01 -0700, Riddy
wrote: When I name and document in Word and save it, it automatically displays .doc at the end of it, both at the top of the screen and also when I go to open a file in Word. This means that when I put a field in my footer to put the document name, it is also putting .doc at the end of it which I naturally don't want displayed in the footer of my document. In the File Properties dialog, fill in the Title field with what you want to show in the footer. Then, in the footer, replace the Filename field with a Title field -- that will show what you typed in the Properties dialog, independent of the file name. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. |
#4
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How do I make .doc NOT display at the end of the name?
Word's filename field will not show the extension if you have Windows
Explorer file options set to hide the extension for known file types, which is the default setting (though most people change it). However an alternative solution to those suggested would be to use a macro to insert the filename e.g. the following will insert the filename and path or just the filename at the cursor http://www.gmayor.com/installing_macro.htm Sub InsertfNameAndPath() Dim pPathname As String With ActiveDocument If Len(.Path) = 0 Then .Save End If If Right(.name, 1) = "x" Then pPathname = Left$(.FullName, (Len(.FullName) - 5)) Else pPathname = Left$(.FullName, (Len(.FullName) - 4)) End If End With Selection.TypeText pPathname End Sub Sub InsertFnameOnly() Dim pPathname As String With ActiveDocument If Len(.Path) = 0 Then .Save End If If Right(.name, 1) = "x" Then pPathname = Left$(.name, (Len(.name) - 5)) Else pPathname = Left$(.name, (Len(.name) - 4)) End If End With Selection.TypeText pPathname End Sub -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Riddy wrote: When I name and document in Word and save it, it automatically displays .doc at the end of it, both at the top of the screen and also when I go to open a file in Word. This means that when I put a field in my footer to put the document name, it is also putting .doc at the end of it which I naturally don't want displayed in the footer of my document. |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How can I make print preview display odd pages on the right? | Page Layout | |||
How can I make Word display exactly what I type? | New Users | |||
How do I make headers display the chapter title? | Microsoft Word Help | |||
how do I make all my past documents display in english. They are. | Microsoft Word Help | |||
Make Display for Review box default to Final | Microsoft Word Help |