Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default 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



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
MS excel currency conversion from UK to German Steve niki405 Excel Worksheet Functions 0 March 2nd 10 02:29 PM
Error opening in German Excel Greg Lovern Excel Discussion (Misc queries) 4 April 9th 08 11:18 PM
German Excel Menu equivalents John Excel Discussion (Misc queries) 3 February 18th 08 04:10 PM
Recover earlier version of excel sheet after new version saved? stephanie38 Excel Discussion (Misc queries) 3 June 17th 05 03:52 AM
Problems with german excel version Stephan Kassanke Excel Programming 0 August 26th 03 09:11 AM


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