Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
I am using Word 2003 and would like to create a macro to insert a text box.
|
#2
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
PJY wrote:
I am using Word 2003 and would like to create a macro to insert a text box. It would help to know what kind of text box, where you want it, how big you want it, and what you want to put in it... and why the Insert Text Box command isn't sufficient (for example, is this part of a larger macro?). It would probably also be helpful, but not essential, to move this post to the microsoft.public.word.vba.beginners newsgroup, where it would be on topic. -- 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. |
#3
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
What I'm trying to do is create a macro for landscape pages that would mirror
my headers and footers in portrait. The text box I want to use is the normal text box found on the drawing toolbar. I want the footer to be placed in the header (Absolute position horizontal -0.46 to the right of column and absulte position 0.16 to the right of column) What would be in the text boxes would be the page number for one and the job no., month & year for the other. Insert text box is fine, however, more time consuming than it needs to be if I could create a macro instead. "Jay Freedman" wrote: PJY wrote: I am using Word 2003 and would like to create a macro to insert a text box. It would help to know what kind of text box, where you want it, how big you want it, and what you want to put in it... and why the Insert Text Box command isn't sufficient (for example, is this part of a larger macro?). It would probably also be helpful, but not essential, to move this post to the microsoft.public.word.vba.beginners newsgroup, where it would be on topic. -- 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. |
#4
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
See http://word.mvps.org/FAQs/Formatting...apeSection.htm for
suggestions. And instead of a macro, save your header/footer as an AutoText entry. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "PJY" wrote in message ... What I'm trying to do is create a macro for landscape pages that would mirror my headers and footers in portrait. The text box I want to use is the normal text box found on the drawing toolbar. I want the footer to be placed in the header (Absolute position horizontal -0.46 to the right of column and absulte position 0.16 to the right of column) What would be in the text boxes would be the page number for one and the job no., month & year for the other. Insert text box is fine, however, more time consuming than it needs to be if I could create a macro instead. "Jay Freedman" wrote: PJY wrote: I am using Word 2003 and would like to create a macro to insert a text box. It would help to know what kind of text box, where you want it, how big you want it, and what you want to put in it... and why the Insert Text Box command isn't sufficient (for example, is this part of a larger macro?). It would probably also be helpful, but not essential, to move this post to the microsoft.public.word.vba.beginners newsgroup, where it would be on topic. -- 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. |
#5
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
Thank you for your website but I'm already aware of how to format on
landscape pages. Why would I use autotext? "Suzanne S. Barnhill" wrote: See http://word.mvps.org/FAQs/Formatting...apeSection.htm for suggestions. And instead of a macro, save your header/footer as an AutoText entry. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "PJY" wrote in message ... What I'm trying to do is create a macro for landscape pages that would mirror my headers and footers in portrait. The text box I want to use is the normal text box found on the drawing toolbar. I want the footer to be placed in the header (Absolute position horizontal -0.46 to the right of column and absulte position 0.16 to the right of column) What would be in the text boxes would be the page number for one and the job no., month & year for the other. Insert text box is fine, however, more time consuming than it needs to be if I could create a macro instead. "Jay Freedman" wrote: PJY wrote: I am using Word 2003 and would like to create a macro to insert a text box. It would help to know what kind of text box, where you want it, how big you want it, and what you want to put in it... and why the Insert Text Box command isn't sufficient (for example, is this part of a larger macro?). It would probably also be helpful, but not essential, to move this post to the microsoft.public.word.vba.beginners newsgroup, where it would be on topic. -- 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. |
#6
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
Because saving the header/footer as an AutoText entry would allow you to
just select it from the AutoText menu on the Header and Footer toolbar, which is simpler than writing and running a macro. See http://word.mvps.org/FAQs/Customization/AutoText.htm An example of a similar use of AutoText is provided at http://sbarnhill.mvps.org/WordFAQs/CropMarks.htm. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "PJY" wrote in message ... Thank you for your website but I'm already aware of how to format on landscape pages. Why would I use autotext? "Suzanne S. Barnhill" wrote: See http://word.mvps.org/FAQs/Formatting...apeSection.htm for suggestions. And instead of a macro, save your header/footer as an AutoText entry. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "PJY" wrote in message ... What I'm trying to do is create a macro for landscape pages that would mirror my headers and footers in portrait. The text box I want to use is the normal text box found on the drawing toolbar. I want the footer to be placed in the header (Absolute position horizontal -0.46 to the right of column and absulte position 0.16 to the right of column) What would be in the text boxes would be the page number for one and the job no., month & year for the other. Insert text box is fine, however, more time consuming than it needs to be if I could create a macro instead. "Jay Freedman" wrote: PJY wrote: I am using Word 2003 and would like to create a macro to insert a text box. It would help to know what kind of text box, where you want it, how big you want it, and what you want to put in it... and why the Insert Text Box command isn't sufficient (for example, is this part of a larger macro?). It would probably also be helpful, but not essential, to move this post to the microsoft.public.word.vba.beginners newsgroup, where it would be on topic. -- 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. |
#7
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
Thank you for trying to help me, but it is clear in your answer you do not
understand what I want to do. Sorry I haven't explained myself well enough. I did write the macro this AM though and it is working perfectly. "Suzanne S. Barnhill" wrote: Because saving the header/footer as an AutoText entry would allow you to just select it from the AutoText menu on the Header and Footer toolbar, which is simpler than writing and running a macro. See http://word.mvps.org/FAQs/Customization/AutoText.htm An example of a similar use of AutoText is provided at http://sbarnhill.mvps.org/WordFAQs/CropMarks.htm. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "PJY" wrote in message ... Thank you for your website but I'm already aware of how to format on landscape pages. Why would I use autotext? "Suzanne S. Barnhill" wrote: See http://word.mvps.org/FAQs/Formatting...apeSection.htm for suggestions. And instead of a macro, save your header/footer as an AutoText entry. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "PJY" wrote in message ... What I'm trying to do is create a macro for landscape pages that would mirror my headers and footers in portrait. The text box I want to use is the normal text box found on the drawing toolbar. I want the footer to be placed in the header (Absolute position horizontal -0.46 to the right of column and absulte position 0.16 to the right of column) What would be in the text boxes would be the page number for one and the job no., month & year for the other. Insert text box is fine, however, more time consuming than it needs to be if I could create a macro instead. "Jay Freedman" wrote: PJY wrote: I am using Word 2003 and would like to create a macro to insert a text box. It would help to know what kind of text box, where you want it, how big you want it, and what you want to put in it... and why the Insert Text Box command isn't sufficient (for example, is this part of a larger macro?). It would probably also be helpful, but not essential, to move this post to the microsoft.public.word.vba.beginners newsgroup, where it would be on topic. -- 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. |
#8
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
As described, you want to put a portrait header in a specific position on a
landscape page, using a text box. It is no trouble at all to put a PAGE field in one box; in the other you could use a DocProperty field for the job number and a CreateDate (or other Date) field. In fact, you could probably do it in a single text box. If you prefer to use a macro to do this, so be it, but unless you have inaccurately described what you want to do, an AutoText entry would do it quite satisfactorily. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "PJY" wrote in message ... Thank you for trying to help me, but it is clear in your answer you do not understand what I want to do. Sorry I haven't explained myself well enough. I did write the macro this AM though and it is working perfectly. "Suzanne S. Barnhill" wrote: Because saving the header/footer as an AutoText entry would allow you to just select it from the AutoText menu on the Header and Footer toolbar, which is simpler than writing and running a macro. See http://word.mvps.org/FAQs/Customization/AutoText.htm An example of a similar use of AutoText is provided at http://sbarnhill.mvps.org/WordFAQs/CropMarks.htm. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "PJY" wrote in message ... Thank you for your website but I'm already aware of how to format on landscape pages. Why would I use autotext? "Suzanne S. Barnhill" wrote: See http://word.mvps.org/FAQs/Formatting...apeSection.htm for suggestions. And instead of a macro, save your header/footer as an AutoText entry. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "PJY" wrote in message ... What I'm trying to do is create a macro for landscape pages that would mirror my headers and footers in portrait. The text box I want to use is the normal text box found on the drawing toolbar. I want the footer to be placed in the header (Absolute position horizontal -0.46 to the right of column and absulte position 0.16 to the right of column) What would be in the text boxes would be the page number for one and the job no., month & year for the other. Insert text box is fine, however, more time consuming than it needs to be if I could create a macro instead. "Jay Freedman" wrote: PJY wrote: I am using Word 2003 and would like to create a macro to insert a text box. It would help to know what kind of text box, where you want it, how big you want it, and what you want to put in it... and why the Insert Text Box command isn't sufficient (for example, is this part of a larger macro?). It would probably also be helpful, but not essential, to move this post to the microsoft.public.word.vba.beginners newsgroup, where it would be on topic. -- 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. |
Reply |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Insert macro date | Microsoft Word Help | |||
macro to insert text in form | Microsoft Word Help | |||
How do I insert a doc with a footer into another doc with a macro | Microsoft Word Help | |||
How do I insert a tab in a macro? | Microsoft Word Help | |||
Macro to insert AutoText table loses text formatting | Tables |