View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Paul M[_2_] Paul M[_2_] is offline
external usenet poster
 
Posts: 7
Default print preview menu

Hi Lortiz,

Just make sure that you have hidden your user form, otherwise you may not be
able to close the Print Preview.

ie.

yourUserForm.Hide

or

Unload yourUserForm

Do this before passing the .PrintPreview command.

Enjoy.

Paul.
"lortiz" wrote in message
...
lo que yo deseo hacer es lo siguiente:

tengo una userform1 con 1 controlbuttom llamado imprimir fomato este
boton muestra en forma de "print preview" la hoja o el formato
deseado:

woksheets("hoja1").printpreview

y lo que necesito es saber si existe una forma para desabilitar ciertos
botones del menu de print preview es decir solo dejar activos algunos
como: next, preview, close, print.

esto para eviar que los usuarios cambien los parametros del setup de la
hoja o los margenes

espero que me ayudes y creo que algien llamado joe tambien pregunta lo
mismo



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/