[RESOLVED] Vb.Net Office Project Excel 2007 run existing macros from a ribbon
Hello Friends,
I created some macros in an excel 2007 workbook in the past.
Now, I just started to work on a Excel 2007 project in vb.net 2010 that copied this excel workbook.
This excel workbook is base for my project. I dont want to create too much new codes, I want to use the macros in this excel.
I will add a ribbon. Some buttons on this ribbon will use the macros in this excel.
But I could not find how to run the macros.
I found some post that "opens an excel and uses its macros and closes it" but in my project the excel is already open.
Do you have some helps for me?
I just need to run macros in active excel from a button in the special ribbon created.
Thanks..
Re: Vb.Net Office Project Excel 2007 run existing macros from a ribbon
Running macros in Excel from VB.NET (may or may not be helpful for your projet)
http://www.siddharthrout.com/2012/03...lly-in-vb-net/