Hi all,
I would like to enable the "Trust access to vba project object model".(authorized on the application).
I am trying to do this using using the sendkeys sub in excel 2007 since i think this is the only way to do it.
Its working on windows vista, and the same code is not working on xp (the trust center window is displayed but no other action is performed). any advices, ideas?
Thanks.
Code:
SendKeys "%T", True
SendKeys "M", True
SendKeys "S", True
SendKeys "{TAB}", True
SendKeys "{TAB}", True
SendKeys " ", True
SendKeys "{Enter}", True