A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

disable toolbar in a custom form



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old August 22nd 07, 06:19 PM posted to microsoft.public.outlook.program_vba
Chris Peel
external usenet poster
 
Posts: 5
Default disable toolbar in a custom form

Sorry, I'm rather new to forms development - I have done some VBA in Access
and Excel.

I'm trying to create a form that when loaded will disable the standard
toolbar and hide the standard menu's.

I have figured out the code aspect a little (script editor) but I'm a
little lost with out the object browser to determine how on teh Item_Open
event I can force both the standard, formatting and menu bars to be
'disabled' and non visible.

Thanks


  #2  
Old August 23rd 07, 05:44 AM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default disable toolbar in a custom form



Start either with ActiveExplorer.Commandbars oder
Activeinspector.Commandbars. Then iterate through the collection and set the
Visible property = False.

AFAIK you can hide the toolbars but not the menu bar.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Organize eMails:
http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6

Am Wed, 22 Aug 2007 10:19:33 -0700 schrieb Chris Peel:

Sorry, I'm rather new to forms development - I have done some VBA in

Access
and Excel.

I'm trying to create a form that when loaded will disable the standard
toolbar and hide the standard menu's.

I have figured out the code aspect a little (script editor) but I'm a
little lost with out the object browser to determine how on teh Item_Open
event I can force both the standard, formatting and menu bars to be
'disabled' and non visible.

Thanks


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
custom button in custom toolbar sat Outlook - General Queries 2 August 24th 06 08:03 PM
re-post: custom button in custom toolbar stef Outlook - General Queries 3 August 8th 06 10:30 PM
re-post: custom button in custom toolbar stef Outlook and VBA 3 August 8th 06 10:30 PM
custom button in custom toolbar stef Outlook and VBA 0 August 5th 06 07:57 PM
Disable the toolbar Teelions Outlook - Using Forms 3 February 16th 06 09:46 PM


All times are GMT +1. The time now is 10:39 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.