.doc in filename in header - Word 2007

U

Ugnz

Hi all

I am using Word 2007, and I've made a header with just the filename in it,
but it's showing the .doc, which I don't want. Last time I did this, I
didn't get the .doc, and I'm not sure what I've done different this time.

Thanks

Maria :)
 
J

JoAnn Paules

That's because you have Windows Explorer set to show you extensions. Turn
them off, you don't see the .doc.
 
U

Ugnz

Does that mean if I send the file to someone else or save it on a shared
drive and it's opened by someone whose Windows Explorer is set to show
extensions, then they'll get .doc when they print my doc?

JoAnn Paules said:
That's because you have Windows Explorer set to show you extensions. Turn
them off, you don't see the .doc.

--

JoAnn Paules
MVP Microsoft [Publisher]
Tech Editor for "Microsoft Publisher 2007 For Dummies"



Ugnz said:
Hi all

I am using Word 2007, and I've made a header with just the filename in it,
but it's showing the .doc, which I don't want. Last time I did this, I
didn't get the .doc, and I'm not sure what I've done different this time.

Thanks

Maria :)
 
S

Suzanne S. Barnhill

Yes.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Ugnz said:
Does that mean if I send the file to someone else or save it on a shared
drive and it's opened by someone whose Windows Explorer is set to show
extensions, then they'll get .doc when they print my doc?

JoAnn Paules said:
That's because you have Windows Explorer set to show you extensions. Turn
them off, you don't see the .doc.

--

JoAnn Paules
MVP Microsoft [Publisher]
Tech Editor for "Microsoft Publisher 2007 For Dummies"



Ugnz said:
Hi all

I am using Word 2007, and I've made a header with just the filename in
it,
but it's showing the .doc, which I don't want. Last time I did this, I
didn't get the .doc, and I'm not sure what I've done different this
time.

Thanks

Maria :)
 
U

Ugnz

And I've just tried to turn off the show extensions in Windows Explorer, and
it turns out that's not the reason. I have 5 Windows Explorer windows open,
and not a one of them is showing file extensions :(

Any other ideas?

Ugnz said:
Does that mean if I send the file to someone else or save it on a shared
drive and it's opened by someone whose Windows Explorer is set to show
extensions, then they'll get .doc when they print my doc?

JoAnn Paules said:
That's because you have Windows Explorer set to show you extensions. Turn
them off, you don't see the .doc.

--

JoAnn Paules
MVP Microsoft [Publisher]
Tech Editor for "Microsoft Publisher 2007 For Dummies"



Ugnz said:
Hi all

I am using Word 2007, and I've made a header with just the filename in it,
but it's showing the .doc, which I don't want. Last time I did this, I
didn't get the .doc, and I'm not sure what I've done different this time.

Thanks

Maria :)
 
J

JoAnn Paules

You still can't control whether the recipient sees the extension.

--

JoAnn Paules
MVP Microsoft [Publisher]
Tech Editor for "Microsoft Publisher 2007 For Dummies"



Ugnz said:
And I've just tried to turn off the show extensions in Windows Explorer,
and
it turns out that's not the reason. I have 5 Windows Explorer windows
open,
and not a one of them is showing file extensions :(

Any other ideas?

Ugnz said:
Does that mean if I send the file to someone else or save it on a shared
drive and it's opened by someone whose Windows Explorer is set to show
extensions, then they'll get .doc when they print my doc?

JoAnn Paules said:
That's because you have Windows Explorer set to show you extensions.
Turn
them off, you don't see the .doc.

--

JoAnn Paules
MVP Microsoft [Publisher]
Tech Editor for "Microsoft Publisher 2007 For Dummies"



Hi all

I am using Word 2007, and I've made a header with just the filename
in it,
but it's showing the .doc, which I don't want. Last time I did this,
I
didn't get the .doc, and I'm not sure what I've done different this
time.

Thanks

Maria :)
 
B

Bob Buckland ?:-\)

Hi Ugnz,

What version of Windows are you using and did you turn off the
[ ] Hide Extensions for known file types in
Windows XP Explorer Tools=>Options=>View=>Advanced Setting?

If you then restart Word the document type shouldn't be showing (although because Word 2007 works in both the legacy (.doc) and new
(.docX/.docM) formats you may want to show the extension as a reminder of the file type you're working with if you're going to be
emailing the documents.

===
And I've just tried to turn off the show extensions in Windows Explorer, and
it turns out that's not the reason. I have 5 Windows Explorer windows open,
and not a one of them is showing file extensions :(

Any other ideas? >>
--

Bob Buckland ?:)
MS Office System Products MVP

*Courtesy is not expensive and can pay big dividends*
 
U

Ugnz

Hi Bob

I'm using XP Professional, and my extensions are definitely hidden and have
always been hidden.

I definitely don't want the .doc showing, as it's supposed to be a heading
for the document, not information. At this point, I figure I'll just type
the heading in, as it's becoming more effort than it's worth to use the
filename.

Thanks everyone for your help anyway.

Maria :)
 
G

Graham Mayor

You cannot insert part of a field, so the only ways to insert the filename
without the extension and have it viewable in that manner by anyone who
opens your document are to insert the filename as text with a macro e.g

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

http://www.gmayor.com/installing_macro.htm

and manually


--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>

Hi Bob

I'm using XP Professional, and my extensions are definitely hidden
and have always been hidden.

I definitely don't want the .doc showing, as it's supposed to be a
heading for the document, not information. At this point, I figure
I'll just type the heading in, as it's becoming more effort than it's
worth to use the filename.

Thanks everyone for your help anyway.

Maria :)

Bob Buckland ?:-) said:
Hi Ugnz,

What version of Windows are you using and did you turn off the
[ ] Hide Extensions for known file types in
Windows XP Explorer Tools=>Options=>View=>Advanced Setting?

If you then restart Word the document type shouldn't be showing
(although because Word 2007 works in both the legacy (.doc) and new
(.docX/.docM) formats you may want to show the extension as a
reminder of the file type you're working with if you're going to be
emailing the documents.

===
And I've just tried to turn off the show extensions in Windows
Explorer, and
it turns out that's not the reason. I have 5 Windows Explorer
windows open,
and not a one of them is showing file extensions :(

Any other ideas? >>
--

Bob Buckland ?:)
MS Office System Products MVP

*Courtesy is not expensive and can pay big dividends*
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top