Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 147
Default Add custom menu item after Help

I have code that adds a menu item before Help, but I would like it to be
after so it is more visible. The code line I have now is

MenuBars(xlWorksheet).Menus.Add Caption:=SortMenuName, befo="Help"

I tried changing "before" to "after" but it didn't work.

Thank you in advance for your replies.

Chris
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,298
Default Add custom menu item after Help

MenuBars(xlWorksheet).Menus.Add Caption:=SortMenuName

"Christine" wrote:

I have code that adds a menu item before Help, but I would like it to be
after so it is more visible. The code line I have now is

MenuBars(xlWorksheet).Menus.Add Caption:=SortMenuName, befo="Help"

I tried changing "before" to "after" but it didn't work.

Thank you in advance for your replies.

Chris

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 147
Default Add custom menu item after Help

Fantastic! Thank you, Patrick.

"Patrick Molloy" wrote:

MenuBars(xlWorksheet).Menus.Add Caption:=SortMenuName

"Christine" wrote:

I have code that adds a menu item before Help, but I would like it to be
after so it is more visible. The code line I have now is

MenuBars(xlWorksheet).Menus.Add Caption:=SortMenuName, befo="Help"

I tried changing "before" to "after" but it didn't work.

Thank you in advance for your replies.

Chris

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
How to display a custom menu item TDay Excel Programming 1 May 16th 09 02:16 PM
Delete specific menu item from custom menu Tim Excel Programming 2 March 11th 08 12:45 PM
Adding Sub Menu Item to Current Custom Menu Renato Excel Programming 2 December 19th 05 12:48 AM
Excel 2000 Custom Menu Item Larry Bird Excel Discussion (Misc queries) 0 November 8th 05 08:25 PM
VBA-Make Custom Menu Item Fire d_rodman Excel Programming 3 July 27th 04 03:29 PM


All times are GMT +1. The time now is 11:03 AM.

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"