How to Disable Excel Menubar or commandbar from C++ code

Hi,
I am working on an application where excel is created, loaded and closed from C++ code.
Now we need to disable/enable few menubar options.
Like when excel is loaded we want to disable Macro option available under Tools in the Excel Menu bar.

I donot know how to do this in C++.
Is there any one who can really helpme on this.

It is very urgent !!!
:(

Regards
RT

[395 byte] By [RT] at [2008-1-17]