Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
mbefl2 mbefl2 is offline
external usenet poster
 
Posts: 1
Default Insert page number in one click

OK, I admit it: I'm lazy. I'm finding it very annoying in Word 2007 that I
have to click three different times to insert a page number at the current
location in my header (Page number, Current position, Plain number). Is there
any way I can create a shortcut or macro to just skip right to Plain Number
and have the page number inserted right there? Thanks!
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Insert page number in one click

Add the following macro to a QAT button or keyboard shortcut to insert the
page number at the cursor

Sub InsPageNo()
Selection.Fields.Add Range:=Selection.Range, Type:=wdFieldPage, _
PreserveFormatting:=False
ActiveWindow.View.ShowFieldCodes = False
End Sub

http://www.gmayor.com/installing_macro.htm

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org




mbefl2 wrote:
OK, I admit it: I'm lazy. I'm finding it very annoying in Word 2007
that I have to click three different times to insert a page number at
the current location in my header (Page number, Current position,
Plain number). Is there any way I can create a shortcut or macro to
just skip right to Plain Number and have the page number inserted
right there? Thanks!



  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Stefan Blom[_3_] Stefan Blom[_3_] is offline
external usenet poster
 
Posts: 6,897
Default Insert page number in one click

It's even quicker to use the built-in shortcut: Alt+Shift+P (assigned to the
InsertPageField command).

--
Stefan Blom
Microsoft Word MVP



"Graham Mayor" wrote in message
...
Add the following macro to a QAT button or keyboard shortcut to insert the
page number at the cursor

Sub InsPageNo()
Selection.Fields.Add Range:=Selection.Range, Type:=wdFieldPage, _
PreserveFormatting:=False
ActiveWindow.View.ShowFieldCodes = False
End Sub

http://www.gmayor.com/installing_macro.htm

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org




mbefl2 wrote:
OK, I admit it: I'm lazy. I'm finding it very annoying in Word 2007
that I have to click three different times to insert a page number at
the current location in my header (Page number, Current position,
Plain number). Is there any way I can create a shortcut or macro to
just skip right to Plain Number and have the page number inserted
right there? Thanks!





  #4   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Insert page number in one click

Hmmm. That brings up Media Player for me? But if it works - it is certainly
simpler than a macro

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



Stefan Blom wrote:
It's even quicker to use the built-in shortcut: Alt+Shift+P (assigned
to the InsertPageField command).


"Graham Mayor" wrote in message
...
Add the following macro to a QAT button or keyboard shortcut to
insert the page number at the cursor

Sub InsPageNo()
Selection.Fields.Add Range:=Selection.Range, Type:=wdFieldPage, _
PreserveFormatting:=False
ActiveWindow.View.ShowFieldCodes = False
End Sub

http://www.gmayor.com/installing_macro.htm

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org




mbefl2 wrote:
OK, I admit it: I'm lazy. I'm finding it very annoying in Word 2007
that I have to click three different times to insert a page number
at the current location in my header (Page number, Current position,
Plain number). Is there any way I can create a shortcut or macro to
just skip right to Plain Number and have the page number inserted
right there? Thanks!



  #5   Report Post  
Posted to microsoft.public.word.docmanagement
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default Insert page number in one click

Works here. There's *something* that starts Media Player, though, because
I've done it inadvertently.

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

"Graham Mayor" wrote in message
...
Hmmm. That brings up Media Player for me? But if it works - it is
certainly simpler than a macro

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



Stefan Blom wrote:
It's even quicker to use the built-in shortcut: Alt+Shift+P (assigned
to the InsertPageField command).


"Graham Mayor" wrote in message
...
Add the following macro to a QAT button or keyboard shortcut to
insert the page number at the cursor

Sub InsPageNo()
Selection.Fields.Add Range:=Selection.Range, Type:=wdFieldPage, _
PreserveFormatting:=False
ActiveWindow.View.ShowFieldCodes = False
End Sub

http://www.gmayor.com/installing_macro.htm

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org




mbefl2 wrote:
OK, I admit it: I'm lazy. I'm finding it very annoying in Word 2007
that I have to click three different times to insert a page number
at the current location in my header (Page number, Current position,
Plain number). Is there any way I can create a shortcut or macro to
just skip right to Plain Number and have the page number inserted
right there? Thanks!







  #6   Report Post  
Posted to microsoft.public.word.docmanagement
Stefan Blom[_3_] Stefan Blom[_3_] is offline
external usenet poster
 
Posts: 6,897
Default Insert page number in one click

And even if it didn't work, assigning a different shortcut to the
InsertPageField command would be a simple task, of course. :-)

--
Stefan Blom
Microsoft Word MVP



"Suzanne S. Barnhill" wrote in message
...
Works here. There's *something* that starts Media Player, though, because
I've done it inadvertently.

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

"Graham Mayor" wrote in message
...
Hmmm. That brings up Media Player for me? But if it works - it is
certainly simpler than a macro

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



Stefan Blom wrote:
It's even quicker to use the built-in shortcut: Alt+Shift+P (assigned
to the InsertPageField command).


"Graham Mayor" wrote in message
...
Add the following macro to a QAT button or keyboard shortcut to
insert the page number at the cursor

Sub InsPageNo()
Selection.Fields.Add Range:=Selection.Range, Type:=wdFieldPage, _
PreserveFormatting:=False
ActiveWindow.View.ShowFieldCodes = False
End Sub

http://www.gmayor.com/installing_macro.htm

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org




mbefl2 wrote:
OK, I admit it: I'm lazy. I'm finding it very annoying in Word 2007
that I have to click three different times to insert a page number
at the current location in my header (Page number, Current position,
Plain number). Is there any way I can create a shortcut or macro to
just skip right to Plain Number and have the page number inserted
right there? Thanks!







  #7   Report Post  
Posted to microsoft.public.word.docmanagement
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default Insert page number in one click

Of course.

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

"Stefan Blom" wrote in message
...
And even if it didn't work, assigning a different shortcut to the
InsertPageField command would be a simple task, of course. :-)

--
Stefan Blom
Microsoft Word MVP



"Suzanne S. Barnhill" wrote in message
...
Works here. There's *something* that starts Media Player, though, because
I've done it inadvertently.

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

"Graham Mayor" wrote in message
...
Hmmm. That brings up Media Player for me? But if it works - it is
certainly simpler than a macro

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



Stefan Blom wrote:
It's even quicker to use the built-in shortcut: Alt+Shift+P (assigned
to the InsertPageField command).


"Graham Mayor" wrote in message
...
Add the following macro to a QAT button or keyboard shortcut to
insert the page number at the cursor

Sub InsPageNo()
Selection.Fields.Add Range:=Selection.Range, Type:=wdFieldPage, _
PreserveFormatting:=False
ActiveWindow.View.ShowFieldCodes = False
End Sub

http://www.gmayor.com/installing_macro.htm

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org




mbefl2 wrote:
OK, I admit it: I'm lazy. I'm finding it very annoying in Word 2007
that I have to click three different times to insert a page number
at the current location in my header (Page number, Current position,
Plain number). Is there any way I can create a shortcut or macro to
just skip right to Plain Number and have the page number inserted
right there? Thanks!








Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Insert page number Uddhava Microsoft Word Help 7 March 25th 09 10:30 PM
Change insert page number default from bottom or page to top of pa Perfumer Microsoft Word Help 1 May 17th 07 06:06 AM
page break and page number insert does not work in word document Michele Microsoft Word Help 1 May 9th 06 12:10 PM
How do I insert chapter number with page number in footer? Joan Microsoft Word Help 4 May 9th 05 04:00 PM
When insert page number is clicked, the number inserted at page 1. inbetween Page Layout 1 February 19th 05 07:07 AM


All times are GMT +1. The time now is 09:37 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"