![]() |
Problems with german excel version
You might use the ID property:
set cb = commandbars.FindControl( id:=30010,Visible:=True) ? cb.parent.name Worksheet Menu Bar ? cb.caption &Help This gets the Help control. the help control is also a commandbar itself. http://support.microsoft.com/default...b;en-us;215149 OFF2000: CommandBar Indexes Different from Office 97 http://support.microsoft.com/default...b;en-us;213552 XL2000: List of ID Numbers for Built-In CommandBar Controls http://support.microsoft.com/default...b;en-us;159466 XL97: List of ID Numbers for Built-In Command Bar Controls http://support.microsoft.com/default...b;en-us;213211 XL2000: Sample Macros to Return ID for a CommandBar Control http://support.microsoft.com/default...b;en-us;162814 XL97: Sample Macros to Return ID for a CommandBar Control -- Regards, Tom Ogilvy "Peter" wrote in message ... In a VBA application for an english excel version, I have the following line: iHelpLocation = cbr.Controls(“Help”).index I have to run the application with a german excel version and then this line causes trouble. I tried to replace it by iHelpLocation = cbr.Controls(“Hilfe”).index but this doesn’t work. How do I have to change this line to run the application with a germen excel version ? Thank’s for your help !! Peter |
All times are GMT +1. The time now is 05:18 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com