Home |
Search |
Today's Posts |
#1
|
|||
|
|||
add button on Word 2003 toolbar that opens a template?
We are using Word 2003 and we would like to know if it's possible to add a
button on a toolbar that automatically opens one of our corporate templates? Instead of browsing to find it throu all the ones we have. |
#2
|
|||
|
|||
add button on Word 2003 toolbar that opens a template?
Record a macro. Store it in Normal.dot.
http://www.officearticles.com/word/r...osoft_word.htm ************ Anne Troy www.OfficeArticles.com "CDW21" wrote in message ... We are using Word 2003 and we would like to know if it's possible to add a button on a toolbar that automatically opens one of our corporate templates? Instead of browsing to find it throu all the ones we have. |
#3
|
|||
|
|||
add button on Word 2003 toolbar that opens a template?
Anne, That is great! I have tried it out and have made what I needed to make.
I do have one other question thou. When I click the new button/macro I made it opens the template I wanted but it opens it in a new window. Can this be changed so that it opens it in the current open word window? That would make it even better. "Anne Troy" wrote: Record a macro. Store it in Normal.dot. http://www.officearticles.com/word/r...osoft_word.htm ************ Anne Troy www.OfficeArticles.com "CDW21" wrote in message ... We are using Word 2003 and we would like to know if it's possible to add a button on a toolbar that automatically opens one of our corporate templates? Instead of browsing to find it throu all the ones we have. |
#4
|
|||
|
|||
add button on Word 2003 toolbar that opens a template?
Hit Alt+F11. On the left, double-click normal (or normal.dot), then find the
module that contains the code (probably under NewMacros). Right below the "Sub..." part, so it's the first line inside the code, put this line: ActiveDocument.Close ************ Anne Troy www.OfficeArticles.com "CDW21" wrote in message ... Anne, That is great! I have tried it out and have made what I needed to make. I do have one other question thou. When I click the new button/macro I made it opens the template I wanted but it opens it in a new window. Can this be changed so that it opens it in the current open word window? That would make it even better. "Anne Troy" wrote: Record a macro. Store it in Normal.dot. http://www.officearticles.com/word/r...osoft_word.htm ************ Anne Troy www.OfficeArticles.com "CDW21" wrote in message ... We are using Word 2003 and we would like to know if it's possible to add a button on a toolbar that automatically opens one of our corporate templates? Instead of browsing to find it throu all the ones we have. |
#5
|
|||
|
|||
add button on Word 2003 toolbar that opens a template?
Anne,
I tried that out but could not make heads or tails out of it. Do I just open Word and press Alt+F11 or do I need to open a certain doc or template first and then press that? I mean I got as far as douoble clicking Normal but then you say find the module that contains the code....what code? I didnt see anything that said NewMacros either. If you have any more help for me I would appreciate it. Thanks. "Anne Troy" wrote: Hit Alt+F11. On the left, double-click normal (or normal.dot), then find the module that contains the code (probably under NewMacros). Right below the "Sub..." part, so it's the first line inside the code, put this line: ActiveDocument.Close ************ Anne Troy www.OfficeArticles.com "CDW21" wrote in message ... Anne, That is great! I have tried it out and have made what I needed to make. I do have one other question thou. When I click the new button/macro I made it opens the template I wanted but it opens it in a new window. Can this be changed so that it opens it in the current open word window? That would make it even better. "Anne Troy" wrote: Record a macro. Store it in Normal.dot. http://www.officearticles.com/word/r...osoft_word.htm ************ Anne Troy www.OfficeArticles.com "CDW21" wrote in message ... We are using Word 2003 and we would like to know if it's possible to add a button on a toolbar that automatically opens one of our corporate templates? Instead of browsing to find it throu all the ones we have. |
#6
|
|||
|
|||
add button on Word 2003 toolbar that opens a template?
When you recorded the macro, it should have written some code into your
normal.dot and you would see it under normal.dot (try recording it again, then looking for the code immediately; perhaps your normal.dot is not being saved?) and in a folder called NewMacros. At this link, you'll see graphics that show Module1. Your NewMacros would appear the same way, and some of this information might help you: http://www.officearticles.com/word/w...osoft_word.htm ************ Anne Troy www.OfficeArticles.com "cdw21" wrote in message ... Anne, I tried that out but could not make heads or tails out of it. Do I just open Word and press Alt+F11 or do I need to open a certain doc or template first and then press that? I mean I got as far as douoble clicking Normal but then you say find the module that contains the code....what code? I didnt see anything that said NewMacros either. If you have any more help for me I would appreciate it. Thanks. "Anne Troy" wrote: Hit Alt+F11. On the left, double-click normal (or normal.dot), then find the module that contains the code (probably under NewMacros). Right below the "Sub..." part, so it's the first line inside the code, put this line: ActiveDocument.Close ************ Anne Troy www.OfficeArticles.com "CDW21" wrote in message ... Anne, That is great! I have tried it out and have made what I needed to make. I do have one other question thou. When I click the new button/macro I made it opens the template I wanted but it opens it in a new window. Can this be changed so that it opens it in the current open word window? That would make it even better. "Anne Troy" wrote: Record a macro. Store it in Normal.dot. http://www.officearticles.com/word/r...osoft_word.htm ************ Anne Troy www.OfficeArticles.com "CDW21" wrote in message ... We are using Word 2003 and we would like to know if it's possible to add a button on a toolbar that automatically opens one of our corporate templates? Instead of browsing to find it throu all the ones we have. |
#7
|
|||
|
|||
add button on Word 2003 toolbar that opens a template?
Anne, Sorry for being a pain but I could not get this working. Here is a cut
and paste from my macro can you tell me where to insert the line "ActiveDocument.Close" Sub Letter() ' ' Letter Macro ' Macro recorded 11/9/2005 by Clay Wilson ' Documents.Add Template:="F:\soft\officetemplates\letter.dot", NewTemplate _ :=False, DocumentType:=0 End Sub "Anne Troy" wrote: When you recorded the macro, it should have written some code into your normal.dot and you would see it under normal.dot (try recording it again, then looking for the code immediately; perhaps your normal.dot is not being saved?) and in a folder called NewMacros. At this link, you'll see graphics that show Module1. Your NewMacros would appear the same way, and some of this information might help you: http://www.officearticles.com/word/w...osoft_word.htm ************ Anne Troy www.OfficeArticles.com "cdw21" wrote in message ... Anne, I tried that out but could not make heads or tails out of it. Do I just open Word and press Alt+F11 or do I need to open a certain doc or template first and then press that? I mean I got as far as douoble clicking Normal but then you say find the module that contains the code....what code? I didnt see anything that said NewMacros either. If you have any more help for me I would appreciate it. Thanks. "Anne Troy" wrote: Hit Alt+F11. On the left, double-click normal (or normal.dot), then find the module that contains the code (probably under NewMacros). Right below the "Sub..." part, so it's the first line inside the code, put this line: ActiveDocument.Close ************ Anne Troy www.OfficeArticles.com "CDW21" wrote in message ... Anne, That is great! I have tried it out and have made what I needed to make. I do have one other question thou. When I click the new button/macro I made it opens the template I wanted but it opens it in a new window. Can this be changed so that it opens it in the current open word window? That would make it even better. "Anne Troy" wrote: Record a macro. Store it in Normal.dot. http://www.officearticles.com/word/r...osoft_word.htm ************ Anne Troy www.OfficeArticles.com "CDW21" wrote in message ... We are using Word 2003 and we would like to know if it's possible to add a button on a toolbar that automatically opens one of our corporate templates? Instead of browsing to find it throu all the ones we have. |
#8
|
|||
|
|||
add button on Word 2003 toolbar that opens a template?
LOL. I've already said:
Right below the "Sub..." part, so it's the first line inside the code, put this line: So: __________________________ Sub Letter() ActiveDocument.Close Documents.Add Template:="F:\soft\officetemplates\letter.dot", NewTemplate _ :=False, DocumentType:=0 End Sub __________________________ ************ Anne Troy www.OfficeArticles.com "cdw21" wrote in message ... Anne, Sorry for being a pain but I could not get this working. Here is a cut and paste from my macro can you tell me where to insert the line "ActiveDocument.Close" Sub Letter() ' ' Letter Macro ' Macro recorded 11/9/2005 by Clay Wilson ' Documents.Add Template:="F:\soft\officetemplates\letter.dot", NewTemplate _ :=False, DocumentType:=0 End Sub "Anne Troy" wrote: When you recorded the macro, it should have written some code into your normal.dot and you would see it under normal.dot (try recording it again, then looking for the code immediately; perhaps your normal.dot is not being saved?) and in a folder called NewMacros. At this link, you'll see graphics that show Module1. Your NewMacros would appear the same way, and some of this information might help you: http://www.officearticles.com/word/w...osoft_word.htm ************ Anne Troy www.OfficeArticles.com "cdw21" wrote in message ... Anne, I tried that out but could not make heads or tails out of it. Do I just open Word and press Alt+F11 or do I need to open a certain doc or template first and then press that? I mean I got as far as douoble clicking Normal but then you say find the module that contains the code....what code? I didnt see anything that said NewMacros either. If you have any more help for me I would appreciate it. Thanks. "Anne Troy" wrote: Hit Alt+F11. On the left, double-click normal (or normal.dot), then find the module that contains the code (probably under NewMacros). Right below the "Sub..." part, so it's the first line inside the code, put this line: ActiveDocument.Close ************ Anne Troy www.OfficeArticles.com "CDW21" wrote in message ... Anne, That is great! I have tried it out and have made what I needed to make. I do have one other question thou. When I click the new button/macro I made it opens the template I wanted but it opens it in a new window. Can this be changed so that it opens it in the current open word window? That would make it even better. "Anne Troy" wrote: Record a macro. Store it in Normal.dot. http://www.officearticles.com/word/r...osoft_word.htm ************ Anne Troy www.OfficeArticles.com "CDW21" wrote in message ... We are using Word 2003 and we would like to know if it's possible to add a button on a toolbar that automatically opens one of our corporate templates? Instead of browsing to find it throu all the ones we have. |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
how do i set up template in vbeditor without proggramming language | New Users | |||
Templates | Page Layout | |||
Macros - Keyboard Commands | Microsoft Word Help | |||
In Word, how can I see all files (*.*) in "save as"? | New Users | |||
Continuous breaks convert to next page breaks | Microsoft Word Help |