PC Review


Reply
Thread Tools Rate Thread

disabel print preview

 
 
=?Utf-8?B?SmF2aWVyIFUu?=
Guest
Posts: n/a
 
      28th May 2007
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

 
Reply With Quote
 
 
 
 
=?Utf-8?B?RlN0MQ==?=
Guest
Posts: n/a
 
      28th May 2007
hi
this would be in general
Application.CommandBars("Standard").Controls(7).Enabled = 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
>

 
Reply With Quote
 
Ron de Bruin
Guest
Posts: n/a
 
      28th May 2007
Look out

If users add or remove controls Controls(7) is not working correct

See this page for example code that use the ID
http://www.rondebruin.nl/menuid.htm


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"FSt1" <(E-Mail Removed)> wrote in message news:7B748999-F4E8-4905-B2B4-(E-Mail Removed)...
> hi
> this would be in general
> Application.CommandBars("Standard").Controls(7).Enabled = 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
>>

 
Reply With Quote
 
=?Utf-8?B?RlN0MQ==?=
Guest
Posts: n/a
 
      28th May 2007
thanks ron
FSt1

"Ron de Bruin" wrote:

> Look out
>
> If users add or remove controls Controls(7) is not working correct
>
> See this page for example code that use the ID
> http://www.rondebruin.nl/menuid.htm
>
>
> --
>
> Regards Ron de Bruin
> http://www.rondebruin.nl/tips.htm
>
>
> "FSt1" <(E-Mail Removed)> wrote in message news:7B748999-F4E8-4905-B2B4-(E-Mail Removed)...
> > hi
> > this would be in general
> > Application.CommandBars("Standard").Controls(7).Enabled = 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
> >>

>

 
Reply With Quote
 
=?Utf-8?B?SmF2aWVyIFUu?=
Guest
Posts: n/a
 
      29th May 2007
Thanks FSt1 and Ron..... the options works but in not good mode for us. My
problem is ... the users need to see the print preview form... but into print
preview form i need to disable the print button.

the another print options is in the (menu view) page break preview. The
users need to see this form, but we need to disable the option in the
contextual menu "Page Setup"

Thak you very much for your help... and sorry form my bad english.

"FSt1" wrote:

> thanks ron
> FSt1
>
> "Ron de Bruin" wrote:
>
> > Look out
> >
> > If users add or remove controls Controls(7) is not working correct
> >
> > See this page for example code that use the ID
> > http://www.rondebruin.nl/menuid.htm
> >
> >
> > --
> >
> > Regards Ron de Bruin
> > http://www.rondebruin.nl/tips.htm
> >
> >
> > "FSt1" <(E-Mail Removed)> wrote in message news:7B748999-F4E8-4905-B2B4-(E-Mail Removed)...
> > > hi
> > > this would be in general
> > > Application.CommandBars("Standard").Controls(7).Enabled = 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
> > >>

> >

 
Reply With Quote
 
Ron de Bruin
Guest
Posts: n/a
 
      30th May 2007
Hi Javier

I not think it is possible to disable this button in the Page Setup dialog.
But i good be wrong

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Javier U." <(E-Mail Removed)> wrote in message news:FCF9E430-9B17-4560-B618-(E-Mail Removed)...
> Thanks FSt1 and Ron..... the options works but in not good mode for us. My
> problem is ... the users need to see the print preview form... but into print
> preview form i need to disable the print button.
>
> the another print options is in the (menu view) page break preview. The
> users need to see this form, but we need to disable the option in the
> contextual menu "Page Setup"
>
> Thak you very much for your help... and sorry form my bad english.
>
> "FSt1" wrote:
>
>> thanks ron
>> FSt1
>>
>> "Ron de Bruin" wrote:
>>
>> > Look out
>> >
>> > If users add or remove controls Controls(7) is not working correct
>> >
>> > See this page for example code that use the ID
>> > http://www.rondebruin.nl/menuid.htm
>> >
>> >
>> > --
>> >
>> > Regards Ron de Bruin
>> > http://www.rondebruin.nl/tips.htm
>> >
>> >
>> > "FSt1" <(E-Mail Removed)> wrote in message news:7B748999-F4E8-4905-B2B4-(E-Mail Removed)...
>> > > hi
>> > > this would be in general
>> > > Application.CommandBars("Standard").Controls(7).Enabled = 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
>> > >>
>> >

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Disabel some features Tia Microsoft Outlook Installation 0 22nd Jan 2009 05:35 PM
Print Preview in Word 2003 - 75% of preview is invisible =?Utf-8?B?UmljaGFyZCBIZXdpdHQ=?= Microsoft Word Document Management 0 8th Aug 2005 09:28 AM
Subreport not showing in Print Preview or Layout Preview Michelle Microsoft Access 0 21st Jul 2005 03:45 PM
Is there anyway to permanently disabel Paul Manson Microsoft Excel Worksheet Functions 1 30th Apr 2004 04:24 PM
Print Preview HELP does not work on Print Preview Menu Bar JG Windows XP Internet Explorer 0 23rd Jul 2003 03:26 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:29 PM.