How to execute the macro using Microsoft Access Database Engine without excel installation. RRS feed

  • Question

  • How to execute the macro using Microsoft Access Database Engine without excel installation in C#
    Monday, July 16, 2018 10:20 AM

All replies

  • Check out the following


    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.
    VB Forums - moderator
    profile for Karen Payne on Stack Exchange, a network of free, community-driven Q&A sites

    Monday, July 16, 2018 11:21 AM
  • Hi Karen 

    this Microsoft.Office.Interop.Excel will be work if i installed excel in my system but if suppose in my system excel is not installed that time if i need to do any activities then i need to go for "Microsoft Access Database Engine " only using this engine i am able to read & write in excel but i do not have idea to run the macro.So if you have any idea without install excel execute the macro using c#.Please share me.

    Monday, July 16, 2018 2:08 PM
  • Hello subramaniyanveera,

    As far as I know, Microsoft Access Database Engine does not support to run macro. If you want to run a macro in Excel, you have to install Excel, especially you used Excel Interop Api in the macro.

    Best Regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Tuesday, July 17, 2018 5:06 AM