visual basic
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » Visual Basic

Visual Basic

resolvedResolved · Low Priority · Version 2003

replyReply Thu 23 Apr 2009, 16:34Delegate Daren said...

Daren has attended:
Excel VBA Intro Intermediate course

Visual Basic

I have used a Excel sheet that when opened put's a drop down menu automatically on the Task Bar.
How is this don.

For upcoming training course dates see: Pricing & availability

replyReply Sun 26 Apr 2009, 21:58Trainer Carlos said...

RE: Visual Basic

Hi Daren

Sorry for the delay.

I'm not sure what you mean about the drop down menu. Does it appear next to the other menu options or is it a command bar.

The way you make a command bar or any other item appear when a particular worksheet opens is

1. In the code window create the Workbook's Open event as shown below:

Private Sub Workbook_Open()

Application.CommandBars("TheCommandBarName").Visible = True

End Sub

To hide the command bar do the same in the close event.

Hope this helps

Carlos

Sun 3 May 2009: Automatically marked as resolved.

 

Please browse our web site to find out more about
excel-xp-training and other Microsoft training courses.

Excel tip:

Remove unused toolbar buttons

Are there buttons on your Excel toolbars that you never use? Remove them from the toolbar by doing the following:

1. Go to Tools - Customise - Commands.
2. Select the toolbar button you wish to remove, then use your mouse to drag and drop the button into the Excel window. When you release your finger from the mouse, the button will disappear.

View all Excel hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard