VBA is embedded pretty tightly into Word and Excel; there's no way to swap it out for another scripting engine.<br><br>
<div class="gmail_quote">On Sun, Nov 15, 2009 at 8:40 AM, Joshua Kramer <span dir="ltr"><<a href="mailto:josh@globalherald.net">josh@globalherald.net</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote"><br>A while back, Slide wrote:<br><br>"You'd have to write an add-in for office that hosted the .NET runtime and<br>
provided a hosting API that IP could interact with. I don't think this would be a small undertaking."<br><br>Hmm. Is there any way to have MSO "see" IPY as a Scripting or Macro Language, like it sees VBA? I am familiar with writing console (or regular) apps in C# and using the Microsoft.Office.Interop assemblies - I could do this easily from IronPython but I'd rather it be usable from within the MSO environment.<br>
<br>OpenOffice is better in this regard because it "sees" Python, Java, and Basic as just different scripting / macro languages, and therefore it's easy to write Python apps that EITHER run from within the environment or outside.<br>
<br>Cheers,<br>-JK<br><br>-- <br><br>-----<br><a href="http://www.globalherald.net/jb01" target="_blank">http://www.globalherald.net/jb01</a><br>GlobalHerald.NET, the Smarter Social Network! (tm)<br>_______________________________________________<br>
Users mailing list<br><a href="mailto:Users@lists.ironpython.com" target="_blank">Users@lists.ironpython.com</a><br><a href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com" target="_blank">http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a><br>
</blockquote></div><br>