Group:  Microsoft Word ยป microsoft.public.word.docmanagement
Thread: macro in word 2007

macro in word 2007
judith.finlay[ at ]thebindingsite.com 12/29/2008 6:50:00 PM
Folks,

I am trying to set up a simple macro in word 2007 to put the filename
and page x of y in the footer of each page. So far my attempts always
result in errors. I do not want to make a form or template because
other send me documents that I would like to perform this action on as
well.

Please advise.

Sincerely,

Judith
Re: macro in word 2007
"Suzanne S. Barnhill" <sbarnhill[ at ]mvps.org> 12/29/2008 11:22:46 PM
Still no macro needed. Save the FILENAME field and Page X of Y as AutoText
entries (building blocks). Assign them keyboard shortcuts if desired.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

<judith.finlay[ at ]thebindingsite.com> wrote in message
news:2fe49f5c-37b4-418e-be04-4986ca50274f[ at ]b41g2000pra.googlegroups.com...
[Quoted Text]
> Folks,
>
> I am trying to set up a simple macro in word 2007 to put the filename
> and page x of y in the footer of each page. So far my attempts always
> result in errors. I do not want to make a form or template because
> other send me documents that I would like to perform this action on as
> well.
>
> Please advise.
>
> Sincerely,
>
> Judith
>


Re: macro in word 2007
"Beth Melton" <bmelton[ at ]mvps.org> 12/31/2008 7:00:39 PM
<judith.finlay[ at ]thebindingsite.com> wrote in message
news:2fe49f5c-37b4-418e-be04-4986ca50274f[ at ]b41g2000pra.googlegroups.com...
[Quoted Text]
> Folks,
>
> I am trying to set up a simple macro in word 2007 to put the filename
> and page x of y in the footer of each page. So far my attempts always
> result in errors. I do not want to make a form or template because
> other send me documents that I would like to perform this action on as
> well.

In the New dialog box search for "Filename". The search results should
include a template for "Building Blocks for inserting file name and path".
Download it and follow the instructions to copy the building blocks in the
template to your Building Blocks template so they can be used in any
document.

--
~~~~~~~~~~~~~~~
Beth Melton
Microsoft Office MVP
https://mvp.support.microsoft.com/profile/Melton
What is a Microsoft MVP? http://mvp.support.microsoft.com/gp/mvpfaqs

Guides for the Office 2007 Interface:
http://office.microsoft.com/en-us/training/HA102295841033.aspx


Home | Search | Terms | Imprint
Newsgroups Reader