Results 1 to 2 of 2

Thread: [RESOLVED] Vb.Net Office Project Excel 2007 run existing macros from a ribbon

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2011
    Posts
    13

    Resolved [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..

  2. #2
    Karen Payne MVP kareninstructor's Avatar
    Join Date
    Jun 2008
    Location
    Oregon
    Posts
    6,713

    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/

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width