Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.newusers
|
|||
|
|||
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
Posted to microsoft.public.word.newusers
|
|||
|
|||
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
Posted to microsoft.public.word.newusers
|
|||
|
|||
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
Posted to microsoft.public.word.newusers
|
|||
|
|||
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
Posted to microsoft.public.word.newusers
|
|||
|
|||
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
Posted to microsoft.public.word.newusers
|
|||
|
|||
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
Posted to microsoft.public.word.newusers
|
|||
|
|||
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 | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How can I view the path and filename in the title bar at the top? | Microsoft Word Help | |||
adding filename & path to footer in office 2007 | Microsoft Word Help | |||
Office 2007 file path in windows title bar | Microsoft Word Help | |||
How do I display the full filename path on the title bar in Word . | Microsoft Word Help | |||
Show modified/unmodified in the Title Bar next to the filename. | Microsoft Word Help |