Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 21
Default Excel97, VBA menu programming by ID Number.

Excel97, VBA menu programming by ID Number.

i have the Italian version of Excel97 and there is
not way that i known to patch it to american English
language, to have formulas and menu in english.



For my Excel97 the following code ...

CommandBars("Worksheet menu bar").Controls("Help").Delete

Does not mean anything, because is Italian Version,
and instead of "Help" it has "?"

So the following code is appropriate for the version.

There is a common ID number for any version of Excel.

Is better to use the ID Numbers when programming,
to have more compatibility,



I know how to restore a menu by name or by ID Number,

Sub Restore_by_name()
CommandBars("Worksheet menu
bar").Controls.Add(Type:=msoControlPopup).Caption = "?"
End Sub
Sub Restore_by_ID_Number()
CommandBars("Worksheet menu bar").Controls.Add Type:=msoControlPopup,
Id:=30010, befo=10
End Sub

I know how to delete a menu only by name,

Sub Delete_by_name()
CommandBars("Worksheet menu bar").Controls("?").Delete
End Sub

Sub Delete_by_ID_Number()
' ?
End Sub


How can i delete it by ID Number ?

Any Help ?

Thanks,

Robert.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 21
Default Excel97, VBA menu programming by ID Number.

Excel97, VBA menu programming by ID Number.

i have the Italian version of Excel97 and there is
not way that i known to patch it to american English
language, to have formulas and menu in english.



For my Excel97 the following code ...

CommandBars("Worksheet menu bar").Controls("Help").Delete

Does not mean anything, because is Italian Version,
and instead of "Help" it has "?"

So the following code is appropriate for the version.

There is a common ID number for any version of Excel.

Is better to use the ID Numbers when programming,
to have more compatibility,



I know how to restore a menu by name or by ID Number,

Sub Restore_by_name()
CommandBars("Worksheet menu
bar").Controls.Add(Type:=msoControlPopup).Caption = "?"
End Sub
Sub Restore_by_ID_Number()
CommandBars("Worksheet menu bar").Controls.Add Type:=msoControlPopup,
Id:=30010, befo=10
End Sub

I know how to delete a menu only by name,

Sub Delete_by_name()
CommandBars("Worksheet menu bar").Controls("?").Delete
End Sub

Sub Delete_by_ID_Number()
' ?
End Sub


How can i delete it by ID Number ?

Any Help ?

Thanks,

Robert.
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 make items in a drop down menu reference a number Blaize Excel Discussion (Misc queries) 2 March 5th 10 09:48 AM
How do you change the default number of copies in the print menu? TeeCee Excel Discussion (Misc queries) 3 March 28th 08 07:08 AM
Japanese excel97 on Eng Win XP pro sp2 Kim Setting up and Configuration of Excel 0 April 21st 05 07:09 PM
Excel97 SDK: How to build a multi-lever menu using Excel SDK? Michael[_18_] Excel Programming 0 October 24th 03 03:08 AM
NEED HELP PROGRAMMING EXCEL TO AUTHENTICATE EXCEL USER ID AND LICENSE NUMBER WHEN TEMPLATES ARE USED Marcello do Guzman Excel Programming 1 August 21st 03 03:40 AM


All times are GMT +1. The time now is 11:57 PM.

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

About Us

"It's about Microsoft Excel"