MrExcel Message Board


Go Back   MrExcel Message Board > Question Forums > Excel Questions

Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only.

Reply
 
Thread Tools Display Modes
Old Mar 30th, 2004, 04:13 PM   #1
Emily
 
Join Date: Aug 2002
Location: Hong Kong, China
Posts: 304
Default Where is Commandbars(1).Controls(8)

Below code can list 10 items but I can only find 9 on the menu bar, where is the eighth one, i.e. between "Data(D)" and "Window(W)"

Thanks

Code:
With Application.CommandBars(1)
   i = 1
   For Each c In .Controls
      Cells(i, 1) = c.Caption
      Cells(i, 2) = c.ID
      i = i + 1
    Next
End With
Emily is offline   Reply With Quote
Old Mar 30th, 2004, 04:45 PM   #2
Whisperer14
 
Join Date: Nov 2002
Location: Cornwall UK
Posts: 589
Default

I am beginning to think that it is a redundant control, it is mentioned around xl97 time but is certainly not active in 2002, even using Alt+c has no effect.

It is also mentioned as the 8th control on the chart menu but again does not appear to be active in any way.
__________________
Never too old to learn...
Whisperer14 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT +1. The time now is 03:04 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
All contents Copyright 1998-2009 by MrExcel Consulting.