Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I cannot seem to be able to set the onaction property of the File
Save item on the worksheet menubar using index numbers. Application.CommandBars("File").Controls("Save").O nAction = "SaveFile" works fine but if I want to do it as follows I get an error message Application.CommandBars(1).Controls(3).OnAction = "SaveFile" I am trying to use this method since using names for the controlbar and controls causes a problem if the workbook is used on a spanish version of excel. Also, I seem to be also have a problem with the use of decimals between english and spanish. In the spanish version the decimal is a comma and my code interpretes 1.234 as 1,234 or a number one thousand times greater than it is supposed to be. Is there a work around for this issue? David |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
in a excel file, how to make a menu item for the .xls file that when clicked on it runs myform.show? example plz | Excel Worksheet Functions | |||
Need Help with a Menu Item .OnAction property | Excel Programming | |||
OnAction menu item property coding | Excel Programming | |||
Setting OnAction of custom menu item? | Excel Programming | |||
Disable File-Save menu item in macro? | Excel Programming |