Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27353

VS 2010 Vb.Net Office Project Excel 2007 run existing macros from a ribbon

$
0
0
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..

Viewing all articles
Browse latest Browse all 27353

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>