Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 57
Default Float Menu Excel 2003 vs 2007

Hi All
In a [2003] workbook I've got a "help sheet" with various help topics.
When activated a float_menu appears from which the user can
select a topic from a userform. This works great, however in 2007
the float_menu doesnt appear. Any suggestions ?
As always any help will be much appreciated.
This is my code:
Regular module:
Sub Float_Menu_help()
Dim newMenu As CommandBar, newControl, newItem, subMenu
Dim c
'remove custom menu if it exists
Delete_HelpMenu
'create new menu and display it
Set newMenu = CommandBars.Add(Name:="Help_Menu", _
Temporary:=True, _
MenuBar:=False)
newMenu.Visible = True
'add a menu to the new CommandBar
Set newControl = newMenu.Controls.Add(Type:=msoControlPopup)
newControl.Caption = "Select the required item"
newControl.OnAction = "HelpMe"

End Sub

Sheet code:
Private Sub Worksheet_Activate()
Float_Menu_help
End Sub

Private Sub Worksheet_Deactivate()
Delete_HelpMenu
End Sub

--
HJN
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default Float Menu Excel 2003 vs 2007

Have you looked for the items from your float_menu under the Add-ins tab?

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com

"Hennie Neuhoff" wrote in message
...
Hi All
In a [2003] workbook I've got a "help sheet" with various help topics.
When activated a float_menu appears from which the user can
select a topic from a userform. This works great, however in 2007
the float_menu doesnt appear. Any suggestions ?
As always any help will be much appreciated.
This is my code:
Regular module:
Sub Float_Menu_help()
Dim newMenu As CommandBar, newControl, newItem, subMenu
Dim c
'remove custom menu if it exists
Delete_HelpMenu
'create new menu and display it
Set newMenu = CommandBars.Add(Name:="Help_Menu", _
Temporary:=True, _
MenuBar:=False)
newMenu.Visible = True
'add a menu to the new CommandBar
Set newControl = newMenu.Controls.Add(Type:=msoControlPopup)
newControl.Caption = "Select the required item"
newControl.OnAction = "HelpMe"

End Sub

Sheet code:
Private Sub Worksheet_Activate()
Float_Menu_help
End Sub

Private Sub Worksheet_Deactivate()
Delete_HelpMenu
End Sub

--
HJN


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
menu 2003 to Excel 2007 Adax[_3_] Excel Programming 3 March 3rd 10 04:46 PM
Excel 2003 Menu in 2007 Nomore$$toMS Setting up and Configuration of Excel 4 November 13th 09 08:21 AM
Add menu to QAT with VBA Excel 2007 & 2003 Ken Valenti Excel Programming 3 September 25th 09 04:09 AM
Excel 2003 & 2007 menu compatible menu by Ron de Bruin JC[_13_] Excel Programming 7 November 17th 08 10:20 PM
menu float bloke2 Excel Discussion (Misc queries) 1 July 22nd 08 05:00 PM


All times are GMT +1. The time now is 10:23 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"