ATS was telling us: ATS nous racontait que :
[Quoted Text] > PRB Why does Application.Scripts not work for OnAction? > > I tried to make a command bar button and set its OnAction to call > script I added with Application.Scripts. And I failed. I asked on > MSDN and was told OnAction for a command bar button can not call the > script added via Application.Scripts.Add. > > So, I'm left, why? > > And for that matter, what good is Application.Scripts?
What code did the OnAction call executed?
In the Word VBA context, the "Application" keyword refers to Word itself. There is no "Scripts" method/properties under the Application property in the Word Object library. So, what are you referring to when you mention "Application.Scripts". Do you mean VBS?
-- Salut! _______________________________________ Jean-Guy Marcil - Word MVP jmarcilREMOVE[ at ]CAPSsympatico.caTHISTOO Word MVP site: http://www.word.mvps.org
|