Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Tandy
 
Posts: n/a
Default Keyboard Shortcut for Inserting a Page Break

Is there a keyboard shortcut to insert a page break?
  #2   Report Post  
Ron de Bruin
 
Posts: n/a
Default

Hi Tandy

As far as I know there is no shortcut
You can use a macro like this and run it from a button

ActiveSheet.HPageBreaks.Add Befo=Cells(ActiveCell.Row, 1)


--
Regards Ron de Bruin
http://www.rondebruin.nl


"Tandy" wrote in message ...
Is there a keyboard shortcut to insert a page break?



  #3   Report Post  
David McRitchie
 
Posts: n/a
Default

Hi Tandy,
You would have to create your own macro and shortcut
http://groups.google.co.uk/groups?th...lisphere .com
I hit the wrong one but its the only response with a SUB

List of Excel shortcuts
http://www.mvps.org/dmcritchie/excel/shortx2k.htm

---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"Tandy" wrote ...
Is there a keyboard shortcut to insert a page break?



  #4   Report Post  
Paul B
 
Posts: n/a
Default

Tandy, not real short but you could use Alt + i then b
--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003

"Tandy" wrote in message
...
Is there a keyboard shortcut to insert a page break?



  #5   Report Post  
Tandy
 
Posts: n/a
Default

Ron,

Thank you so much for your help. I never knew you could create your own
shortcuts using macros. Very convenient! Thank you again!


  #6   Report Post  
Gary L Brown
 
Posts: n/a
Default

Tandy,
You could put the macro below into your Personal.xls and set it to a
shortcut. It is a toggle that adds and deletes a Horizontal Page Break. To
use the short cut of 'Ctrl-Shift-H', select ToolsMacroMacros
Hightlight the macro 'HorizontalPageBreakToggle'.
Select Options.
Hold the 'Shift' key and press the 'H' key.
Select 'OK' then 'Cancel'.

'/==============================================/
Public Sub HorizontalPageBreakToggle()
'toggle horizonal page break on and off
Dim blnBreak As Boolean
Dim hBreak As HPageBreak
Dim iHPageBreakItem As Long

On Error Resume Next
blnBreak = False

'if the current cell is at a page break, delete it
For Each hBreak In Application.Worksheets.HPageBreaks
iHPageBreakItem = iHPageBreakItem + 1
If ActiveCell.Row = _
Range(hBreak.Location.Address).Row Then
ActiveSheet.HPageBreaks(iHPageBreakItem).Delete
'page break was found
blnBreak = True
Exit For
End If
Next hBreak

'if the current cell is NOT at a page break, add it
If blnBreak = False Then
ActiveWindow.SelectedSheets.HPageBreaks.Add _
Befo=ActiveCell
End If

End Sub
'/==============================================/

HTH,
--
Gary Brown

If this post was helpful, please click the ''''Yes'''' button next to
''''Was this Post Helpfull to you?".


"Tandy" wrote:

Is there a keyboard shortcut to insert a page break?

  #7   Report Post  
Tandy
 
Posts: n/a
Default

Paul,

How do I post to the newsgroup?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Page scaling & Page break preview prob Martin ©¿©¬ @REMOVETHIS.plus.com Excel Discussion (Misc queries) 1 July 17th 05 09:10 PM
Can't delete a page break Suhail Excel Discussion (Misc queries) 4 July 7th 05 06:49 PM
page break preview VickiJo Excel Discussion (Misc queries) 1 June 10th 05 04:12 PM
adding a new page break to an existing page break Edward Letendre Excel Discussion (Misc queries) 1 March 6th 05 09:29 AM
content does not stay in page break notexcellent Excel Worksheet Functions 1 February 13th 05 05:55 AM


All times are GMT +1. The time now is 06:13 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"