disable page break preview button

G

Guest

need code to disable the page break preview and help buttons on the top menu
bar that opens when you click on print preview . . . i can disable buttons at
the print preview level but can't seem to get the code right to go down to
the next menu bar . . . any help will be appreciated
 
M

Michel Pierron

Hi codysphantom;

' The False parameter prevents changes in Preview mode.
ActiveSheet.PrintPreview False
' Prevent user switching to "Page Brake Preview".
ActiveWindow.View = xlNormalView

Regards,
MP
 
G

Guest

Michel . . .
Thanks.
codysphantom

Michel Pierron said:
Hi codysphantom;

' The False parameter prevents changes in Preview mode.
ActiveSheet.PrintPreview False
' Prevent user switching to "Page Brake Preview".
ActiveWindow.View = xlNormalView

Regards,
MP
 
L

LDStone

What event do we put the code that prevents users from switching to
page break preview?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top