[bksvol-discuss] Re: Page number macros for Word 2003

  • From: "Dan Beaver" <dbeaver888@xxxxxxxxxxxx>
  • To: <bksvol-discuss@xxxxxxxxxxxxx>
  • Date: Tue, 2 Jan 2007 07:47:16 -0500

Great!

I see some steps I was missing so maybe I can get more done now.

Thanks.
----- Original Message ----- From: "Jamie Yates" <jamieyates@xxxxxxxxxxx>
To: <bksvol-discuss@xxxxxxxxxxxxx>
Sent: Tuesday, January 02, 2007 7:38 AM
Subject: [bksvol-discuss] Re: Page number macros for Word 2003


Hi Dan, here is how I made the macros. You have to
make 10 of them and the way I do it, I run each macro
several times. Like a 200 page book has about 20 page
numbers that end in each number. I did each macro only
to do about 5 pages each but you can make your macro
to do as many as you want.

In word, in a book (even if it already has the blank
line between the end of text and the page number, it
doesn't matter for making the macro) you do these
steps:

Position your cursor near the beginning of the book
(past the copyright stuff) but before any page
numbers.

Press the Alt-T keys to bring up the tools menu. Press
M for Macro, and R for Record a macro.

Name the Macro (I named mine PageNumber1, PageNumber2,
etc.) by typing the name of it and hit enter.

Now any keys you type now are going to be in your
macro so you have to do it carefully. This one will
insert a blank line between the end of the text and
the page number. This is if your page numbers are at
the bottom of the page.

Press Ctrl-F for Find. Type 1^p (that will find all
number 1 with a paragraph mark after it [and yes
sometimes this won't be a page number, sometimes it
will be a Chapter 1, Chapter 11, etc but I do not
thinkt he extra blank lines there hurt anything]) and
press enter.

Press Escape Home Enter (what that does is escapes out
of the find box, home moves it to the beginning of the
line and enter puts a blank line before the page
number)

Now Press Ctrl-F for Find. Press Enter twice (to find
the second occurance of the 1 with a paragraph mark
after it). Press Escape Home Enter.

Repeat the above step 3 more times. You have done the
find and replace 5 times. Stop recording your macro
by:

Alt-T for Tools, M for Macro, R for stop Recording
macro.

Now, to finish doing the page number 1's in your book,
press Alt-F8 to bring up the macro box, and I arrow
down to the macro I want and press enter. You can
click on the macro you want, but if you can't see your
screen you probably don't do that. Arrow down to the
macro you want and press enter works just fine.

If you have a 200 page book you'll want to run the
PageNumber1 macro 4 times total for 20 occurances of
the pages with 1 paragraph mark. When you're making
the macro you'll only run it 3 times because the first
time you made the macro you took care of five of the
occurances.

Then you'll want to make a macro for Page Number 2, 3,
4 etc and don't forget 0.

The short steps without my explanations are:

Alt-T M R
Type: PageNumber1 press enter
Ctrl-F 1^p press enter
Escape Home Enter
(Begin the part you repeat)
Ctrl-F 1^p press enter twice
Escape Home Enter
(End the part you repeat)
Repeat three more times the above sequence
Alt-T M R (to stop recording the macro)

To run the macro
Alt-F8
Arrow down to the macro you want and press enter

Hope that helps. My direct email is
jamieyates@xxxxxxxxxxx and you can email me or ask
here I do not mind.

If you wanted to make a macro to do the page numbers
at the top of the page that don't have a blank line
between the page number and the beginning of the text,
instead of Escape Home Enter you would Escape END
Enter

And then for step 2 you would not Ctrl-F Enter Enter
because you would skip a page number.

You would

Alt-T M R
Ctrl-F 1^p
Escape End Enter
Ctrl-F 1^p
Escape End Enter
Ctrl-F 1^p
Escape End Enter
Ctrl-F 1^p
Escape End Enter
Ctrl-F 1^p
Escape End Enter
Alt-T M R

Then run the macro. I haven't done this one yet since
I've only had page numbers at the bottom which needed
a blank line between the end of the text and the page
number but I'm sure I will need a top of the page
number macro soon too.

It is a little time consuming to make the macros but
once you do it makes inserting blank lines between the
text and page number very fast.

And you can make your macro more than 5 at a time too
if you want. It just depends on how big you think the
books will be. If you know you always do books that
are 200 pages or more maybe you want it to do 10 at a
time.

let me know if I can clear it up better.




Jamie in Michigan

To unsubscribe from this list send a blank Email to
bksvol-discuss-request@xxxxxxxxxxxxx
put the word 'unsubscribe' by itself in the subject line. To get a list of available commands, put the word 'help' by itself in the subject line.



--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.16.1/611 - Release Date: 12/31/2006 12:47 PM



To unsubscribe from this list send a blank Email to
bksvol-discuss-request@xxxxxxxxxxxxx
put the word 'unsubscribe' by itself in the subject line.  To get a list of 
available commands, put the word 'help' by itself in the subject line.

Other related posts: