I can access the menu in word 2000 using VBA and find the number of menu items, popupmenu items and the items that are enabled.

Now I want to do the same in Word 2007. Menu's in office 2007 have been replaced by Ribbon. Can any one help me in achieving this?

Any help would be appreciated.

Thank You.