|
|
|
date: Sun, 25 May 2008 08:32:00 -0700,
group: microsoft.public.word.customization.menustoolbars
back
Re: Files / documents on a Word Toolbar
Here's one way... Put any command on a toolbar as a holding space (I tend to
use the FileOpen command, but it really can be any command at all). Then,
with the Customize dialog box still on screen, right click the added command
on the toolbar (it could be in a menu, as well), and choose Assign
Hyperlink - Open. Navigate to the desired file, click on it, then click OK.
Right-click again and change the name to something that tells the user what
file it will open.
Click Close in the Customize dialog when you're done.
Mind you... I get an annoying beep and warning when I open files this way.
But, that might be a function of Vista, since I don't recall the beep from
doing it in XP. But, it's been a while, so it might've beeped then, as well.
--
Herb Tyson MS MVP
Author of the Word 2007 Bible
Blog: http://word2007bible.herbtyson.com
Web: http://www.herbtyson.com
"Margy" wrote in message
news:3211B9AA-9FBF-49CF-8D16-E0B27805B146@microsoft.com...
>I need to make a toolbar in Word 2003 (PC running on XP) that has links to
> Word files in My Documents. I have seen this on a computer and the
> customer
> wants to know how to do this. I do hope I have explained this clearly and
> am
> holding thumbs that someone can assist.
> --
> Margy
> South Africa
date: Mon, 26 May 2008 00:22:35 -0400
author: Herb Tyson [MVP]
Re: Files / documents on a Word Toolbar
Thanks so much Herb. That is exactly what is on my clients PC. However, I am
just getting a warning message each time I click one of the links.
"Hyperlinks can be harmful to your computer and data. To protect your
computer, click only on those links from trust sources. Do you want to
continue?" She is not getting that when she clicks on her toolbar and I am
sure this will bother her evey time she wants to open a document from the
toolbar. I have looked in Tools Options to see if I can disable the message -
but not winning. If you can assist me with that also, I would be really
happy.
Big thank you again.
--
Margy
South Africa
"Herb Tyson [MVP]" wrote:
> Here's one way... Put any command on a toolbar as a holding space (I tend to
> use the FileOpen command, but it really can be any command at all). Then,
> with the Customize dialog box still on screen, right click the added command
> on the toolbar (it could be in a menu, as well), and choose Assign
> Hyperlink - Open. Navigate to the desired file, click on it, then click OK.
> Right-click again and change the name to something that tells the user what
> file it will open.
>
> Click Close in the Customize dialog when you're done.
>
> Mind you... I get an annoying beep and warning when I open files this way.
> But, that might be a function of Vista, since I don't recall the beep from
> doing it in XP. But, it's been a while, so it might've beeped then, as well.
>
> --
> Herb Tyson MS MVP
> Author of the Word 2007 Bible
> Blog: http://word2007bible.herbtyson.com
> Web: http://www.herbtyson.com
>
>
> "Margy" wrote in message
> news:3211B9AA-9FBF-49CF-8D16-E0B27805B146@microsoft.com...
> >I need to make a toolbar in Word 2003 (PC running on XP) that has links to
> > Word files in My Documents. I have seen this on a computer and the
> > customer
> > wants to know how to do this. I do hope I have explained this clearly and
> > am
> > holding thumbs that someone can assist.
> > --
> > Margy
> > South Africa
>
>
date: Mon, 26 May 2008 04:35:01 -0700
author: Margy
Re: Files / documents on a Word Toolbar
Hi Margy,
You should probably go with the Work menu (and I'm a bit surprised that no one
else pointed you to http://www.word.mvps.org/FAQs/General/WorkMenu.htm), but for
completeness here's how to get the toolbar you first described:
- Create a macro (http://www.gmayor.com/installing_macro.htm) in the Normal.dot
template (or in a template in the Startup folder) that opens the document you
want:
Sub OpenDocumentA()
Documents.Open FileName:="Document A.doc"
End Sub
You'll need a separate macro for each document you want to make a button for;
the word after "Sub" and the file name in quotes need to be changed for each
one. If the document is in Word's User Documents folder then you just need the
file name; if it's anywhere else you must also include the full path within the
quotes.
- In the Customize dialog, choose the Macros category and drag the
document-opening macros to the toolbar. Edit the names of the buttons as Herb
described.
These macros won't bother you with hyperlink warnings. But the macro creation
process is more difficult than using the Work menu, so I wouldn't suggest it
unless your customer is absolutely insistent on having a toolbar.
--
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.
On Mon, 26 May 2008 04:35:01 -0700, Margy wrote:
>Thanks so much Herb. That is exactly what is on my clients PC. However, I am
>just getting a warning message each time I click one of the links.
>"Hyperlinks can be harmful to your computer and data. To protect your
>computer, click only on those links from trust sources. Do you want to
>continue?" She is not getting that when she clicks on her toolbar and I am
>sure this will bother her evey time she wants to open a document from the
>toolbar. I have looked in Tools Options to see if I can disable the message -
>but not winning. If you can assist me with that also, I would be really
>happy.
>
>Big thank you again.
>--
>Margy
>South Africa
>
>"Herb Tyson [MVP]" wrote:
>
>> Here's one way... Put any command on a toolbar as a holding space (I tend to
>> use the FileOpen command, but it really can be any command at all). Then,
>> with the Customize dialog box still on screen, right click the added command
>> on the toolbar (it could be in a menu, as well), and choose Assign
>> Hyperlink - Open. Navigate to the desired file, click on it, then click OK.
>> Right-click again and change the name to something that tells the user what
>> file it will open.
>>
>> Click Close in the Customize dialog when you're done.
>>
>> Mind you... I get an annoying beep and warning when I open files this way.
>> But, that might be a function of Vista, since I don't recall the beep from
>> doing it in XP. But, it's been a while, so it might've beeped then, as well.
>>
>> --
>> Herb Tyson MS MVP
>> Author of the Word 2007 Bible
>> Blog: http://word2007bible.herbtyson.com
>> Web: http://www.herbtyson.com
>>
>>
>> "Margy" wrote in message
>> news:3211B9AA-9FBF-49CF-8D16-E0B27805B146@microsoft.com...
>> >I need to make a toolbar in Word 2003 (PC running on XP) that has links to
>> > Word files in My Documents. I have seen this on a computer and the
>> > customer
>> > wants to know how to do this. I do hope I have explained this clearly and
>> > am
>> > holding thumbs that someone can assist.
>> > --
>> > Margy
>> > South Africa
>>
>>
date: Mon, 26 May 2008 11:15:24 -0400
author: Jay Freedman
Re: Files / documents on a Word Toolbar
Hi Jay
Thanks a million for your input. Suzanne and Mark below did suggest the Work
Menu - which was new to me as well and absolutely fantastic. So I am going to
offer the Work Menu option rather - simple and very easy to manage. I would
like to try the method that you have suggested as well and really do
appreciate your advice. I have worked with normal macros, but nothing complex
and no VBA at.
--
Margy
South Africa
"Jay Freedman" wrote:
> Hi Margy,
>
> You should probably go with the Work menu (and I'm a bit surprised that no one
> else pointed you to http://www.word.mvps.org/FAQs/General/WorkMenu.htm), but for
> completeness here's how to get the toolbar you first described:
>
> - Create a macro (http://www.gmayor.com/installing_macro.htm) in the Normal.dot
> template (or in a template in the Startup folder) that opens the document you
> want:
>
> Sub OpenDocumentA()
> Documents.Open FileName:="Document A.doc"
> End Sub
>
> You'll need a separate macro for each document you want to make a button for;
> the word after "Sub" and the file name in quotes need to be changed for each
> one. If the document is in Word's User Documents folder then you just need the
> file name; if it's anywhere else you must also include the full path within the
> quotes.
>
> - In the Customize dialog, choose the Macros category and drag the
> document-opening macros to the toolbar. Edit the names of the buttons as Herb
> described.
>
> These macros won't bother you with hyperlink warnings. But the macro creation
> process is more difficult than using the Work menu, so I wouldn't suggest it
> unless your customer is absolutely insistent on having a toolbar.
>
> --
> 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.
>
> On Mon, 26 May 2008 04:35:01 -0700, Margy wrote:
>
> >Thanks so much Herb. That is exactly what is on my clients PC. However, I am
> >just getting a warning message each time I click one of the links.
> >"Hyperlinks can be harmful to your computer and data. To protect your
> >computer, click only on those links from trust sources. Do you want to
> >continue?" She is not getting that when she clicks on her toolbar and I am
> >sure this will bother her evey time she wants to open a document from the
> >toolbar. I have looked in Tools Options to see if I can disable the message -
> >but not winning. If you can assist me with that also, I would be really
> >happy.
> >
> >Big thank you again.
> >--
> >Margy
> >South Africa
> >
> >"Herb Tyson [MVP]" wrote:
> >
> >> Here's one way... Put any command on a toolbar as a holding space (I tend to
> >> use the FileOpen command, but it really can be any command at all). Then,
> >> with the Customize dialog box still on screen, right click the added command
> >> on the toolbar (it could be in a menu, as well), and choose Assign
> >> Hyperlink - Open. Navigate to the desired file, click on it, then click OK.
> >> Right-click again and change the name to something that tells the user what
> >> file it will open.
> >>
> >> Click Close in the Customize dialog when you're done.
> >>
> >> Mind you... I get an annoying beep and warning when I open files this way.
> >> But, that might be a function of Vista, since I don't recall the beep from
> >> doing it in XP. But, it's been a while, so it might've beeped then, as well.
> >>
> >> --
> >> Herb Tyson MS MVP
> >> Author of the Word 2007 Bible
> >> Blog: http://word2007bible.herbtyson.com
> >> Web: http://www.herbtyson.com
> >>
> >>
> >> "Margy" wrote in message
> >> news:3211B9AA-9FBF-49CF-8D16-E0B27805B146@microsoft.com...
> >> >I need to make a toolbar in Word 2003 (PC running on XP) that has links to
> >> > Word files in My Documents. I have seen this on a computer and the
> >> > customer
> >> > wants to know how to do this. I do hope I have explained this clearly and
> >> > am
> >> > holding thumbs that someone can assist.
> >> > --
> >> > Margy
> >> > South Africa
> >>
> >>
>
date: Mon, 26 May 2008 10:19:00 -0700
author: Margy
|
|