Public Module MyAddIn
<ExcelCommand(MenuName:="My Menu", MenuText:="Run My Macro"> _Public Sub MyMacro()Dim app = ExcelDnaUtil.Applicationapp.Range("A1").Value = 42End Sub
End Module
Ok, I see. Thanks very much for the clarification Govert, that clears up a lot for me!
Zack
--
You received this message because you are subscribed to a topic in the Google Groups "Excel-DNA" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/exceldna/X8qTUUTvUWY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to exceldna+u...@googlegroups.com.
To post to this group, send email to exce...@googlegroups.com.
Visit this group at http://groups.google.com/group/exceldna.
For more options, visit https://groups.google.com/groups/opt_out.