View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Michel Pierron Michel Pierron is offline
external usenet poster
 
Posts: 214
Default disable page break preview button

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

"codysphantom" a écrit dans le
message de ...
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