Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.newusers
AnthonyWerner AnthonyWerner is offline
external usenet poster
 
Posts: 3
Default How do I show path and filename on title bar in Office 2007?

You could do this in Office 2003. This provided something that looked like a
web address, enabling you to copy and paste the complete path/filename.
  #2   Report Post  
Posted to microsoft.public.word.newusers
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default How do I show path and filename on title bar in Office 2007?

There are no toolbars inj Word 2007, so it is not possible to add the web
toolbar to which you refer. If the aim of the exercise is to copy the
filename and path to the clipboard, then the following macro will do that

Sub CopyFileNameAndPath()
Dim dFname As DataObject
Dim fFname As String
Set dFname = New DataObject
With ActiveDocument
' If Len(.Path) = 0 Then .Save
fFname = .FullName
End With
dFname.SetText fFname
dFname.PutInClipboard
End Sub

Removing the apostrophe from the start of the line
' If Len(.Path) = 0 Then .Save
will ensure that the document is saved before you copy the filename.

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

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



AnthonyWerner wrote:
You could do this in Office 2003. This provided something that looked
like a web address, enabling you to copy and paste the complete
path/filename.



  #3   Report Post  
Posted to microsoft.public.word.newusers
BK BK is offline
external usenet poster
 
Posts: 144
Default How do I show path and filename on title bar in Office 2007?

Don't know if this is what you are looking for, but you can:

-- right click the Office button
-- select "customize Quick Access Toolbar"
-- change "popular commands" to "all commands"
-- add "document location" to the QAT

The entire path and filename will appear on the QAT. You cannot resize the
button; however, you can double click inside that button to select the
entire path and filename. Then CTRL + C will copy it to the clipboard and
you can paste it wherever you want.




"AnthonyWerner" wrote in message
...
You could do this in Office 2003. This provided something that looked like
a
web address, enabling you to copy and paste the complete path/filename.



  #4   Report Post  
Posted to microsoft.public.word.newusers
AnthonyWerner AnthonyWerner is offline
external usenet poster
 
Posts: 3
Default How do I show path and filename on title bar in Office 2007?

Thanks for a creative workaround. This required I figure out where to find
the Macros in Word 2007 (the learning curve continues).

The script quite with an error "user-defined data type undefined."

"Graham Mayor" wrote:

There are no toolbars inj Word 2007, so it is not possible to add the web
toolbar to which you refer. If the aim of the exercise is to copy the
filename and path to the clipboard, then the following macro will do that

Sub CopyFileNameAndPath()
Dim dFname As DataObject
Dim fFname As String
Set dFname = New DataObject
With ActiveDocument
' If Len(.Path) = 0 Then .Save
fFname = .FullName
End With
dFname.SetText fFname
dFname.PutInClipboard
End Sub

Removing the apostrophe from the start of the line
' If Len(.Path) = 0 Then .Save
will ensure that the document is saved before you copy the filename.

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

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



AnthonyWerner wrote:
You could do this in Office 2003. This provided something that looked
like a web address, enabling you to copy and paste the complete
path/filename.




  #5   Report Post  
Posted to microsoft.public.word.newusers
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default How do I show path and filename on title bar in Office 2007?

The link I posted explains how to install macros from listings in Word 2007,
however the error is another matter. The macro requires a reference to
Microsoft Forms 2.0. From the vba editor (ALT+F11) Tools References, see
if Microsoft Forms 2.0 is listed. If not browse from that dialog to attempt
to locate FM20.DLL in the C:\WINDOWS\system32 folder. If missing, you will
need to download FM20.DLL from one of the web sources where it is available
and install it in the above mentioned folder.

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



AnthonyWerner wrote:
Thanks for a creative workaround. This required I figure out where to
find the Macros in Word 2007 (the learning curve continues).

The script quite with an error "user-defined data type undefined."

"Graham Mayor" wrote:

There are no toolbars inj Word 2007, so it is not possible to add
the web toolbar to which you refer. If the aim of the exercise is to
copy the filename and path to the clipboard, then the following
macro will do that

Sub CopyFileNameAndPath()
Dim dFname As DataObject
Dim fFname As String
Set dFname = New DataObject
With ActiveDocument
' If Len(.Path) = 0 Then .Save
fFname = .FullName
End With
dFname.SetText fFname
dFname.PutInClipboard
End Sub

Removing the apostrophe from the start of the line
' If Len(.Path) = 0 Then .Save
will ensure that the document is saved before you copy the filename.

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

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



AnthonyWerner wrote:
You could do this in Office 2003. This provided something that
looked like a web address, enabling you to copy and paste the
complete path/filename.





  #6   Report Post  
Posted to microsoft.public.word.newusers
ClaireView ClaireView is offline
external usenet poster
 
Posts: 5
Default How do I show path and filename on title bar in Office 2007?

Thanks for your idea, BK, and your clear instructions!

"BK" wrote:

Don't know if this is what you are looking for, but you can:

-- right click the Office button
-- select "customize Quick Access Toolbar"
-- change "popular commands" to "all commands"
-- add "document location" to the QAT

The entire path and filename will appear on the QAT. You cannot resize the
button; however, you can double click inside that button to select the
entire path and filename. Then CTRL + C will copy it to the clipboard and
you can paste it wherever you want.




"AnthonyWerner" wrote in message
...
You could do this in Office 2003. This provided something that looked like
a
web address, enabling you to copy and paste the complete path/filename.




  #7   Report Post  
Posted to microsoft.public.word.newusers
BK BK is offline
external usenet poster
 
Posts: 144
Default How do I show path and filename on title bar in Office 2007?

Glad I could help.



"ClaireView" wrote in message
...
Thanks for your idea, BK, and your clear instructions!

"BK" wrote:

Don't know if this is what you are looking for, but you can:

-- right click the Office button
-- select "customize Quick Access Toolbar"
-- change "popular commands" to "all commands"
-- add "document location" to the QAT

The entire path and filename will appear on the QAT. You cannot resize
the
button; however, you can double click inside that button to select the
entire path and filename. Then CTRL + C will copy it to the clipboard
and
you can paste it wherever you want.




"AnthonyWerner" wrote in
message
...
You could do this in Office 2003. This provided something that looked
like
a
web address, enabling you to copy and paste the complete path/filename.






Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I view the path and filename in the title bar at the top? Smeely Microsoft Word Help 3 January 13th 09 04:38 AM
adding filename & path to footer in office 2007 sb Microsoft Word Help 1 May 20th 08 02:18 AM
Office 2007 file path in windows title bar mec Microsoft Word Help 1 March 11th 08 07:26 AM
How do I display the full filename path on the title bar in Word . DD Microsoft Word Help 5 January 4th 07 10:55 PM
Show modified/unmodified in the Title Bar next to the filename. Peta Microsoft Word Help 4 June 27th 05 04:55 PM


All times are GMT +1. The time now is 12:42 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"