disabel print preview
hi
this would be in general
Application.CommandBars("Standard").Controls(7).En abled = False
where standard is the name of the command bar and controls is the position
on the command bar from the left.
to turn in back on have enabled = true.
Regards
FSt1
"Javier U." wrote:
Hi ....
please help me wi this problem........ in Microsoft Office Excel 2003 i need
to disabled the print botton that it appears available when is selectec to
the option of print preview. I am developing shared add-in in visual studio
2005 C#. Please its collaboration with the code to disabled this botton.
Thanks
|