Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
ourspt
 
Posts: n/a
Default Disable Customize option next to a tool bar from VB

Hi,

We use excel for our reports and for security reasons, we do not want to
give 'Open' option to our users.
We are able to disable the 'Open' menu option programmatically from VB. We
also want to eliminate the usage of 'Open' tool bar command. To do this, we
need to hide the standard tool bar, by default, when the excel file opens.

What is the way to do this from Visual Basic 6.0?
Thanks in advance
ourspt
  #2   Report Post  
Norman Jones
 
Posts: n/a
Default Disable Customize option next to a tool bar from VB

Hi Ourspt

To hide the toolbar, try:

Application.CommandBars("Standard").Visible=False

To hide and disable the toolbar, try:

Application.CommandBars("Standard").Enabled=False


---
Regards,
Norman



"ourspt" wrote in message
...
Hi,

We use excel for our reports and for security reasons, we do not want to
give 'Open' option to our users.
We are able to disable the 'Open' menu option programmatically from VB. We
also want to eliminate the usage of 'Open' tool bar command. To do this,
we
need to hide the standard tool bar, by default, when the excel file opens.

What is the way to do this from Visual Basic 6.0?
Thanks in advance
ourspt



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Disable Customize toolber tabs areddy Excel Discussion (Misc queries) 1 October 21st 05 02:43 PM
disable customize option when right click on menu bar areddy Excel Discussion (Misc queries) 0 October 20th 05 09:14 AM
How to disable smoothline option. Sureshkrishnan Charts and Charting in Excel 2 October 15th 05 01:47 PM
how can i enable or disable the paste option in excel 2000 mianmian Excel Worksheet Functions 0 September 2nd 05 09:57 AM
Disable "Save As" Option Andy T Excel Discussion (Misc queries) 1 December 10th 04 10:23 AM


All times are GMT +1. The time now is 10:49 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"