when I run the below code the error message displays "Object reference not set to an instance of an object"
its on the line
I understand that I must set this line to something eg...
in Office 2007 using vb.net Im standarising the Office menus
Ive used the microsoft customui.xml file to clean up some menus.
Its works in Word and Powerpoint.
Ive managed to obtain the Ribbon controlids for all the apps.
This is the same code Im usign for Word, Powerpoint and excel.