Spire.XLS is a professional Excel API that enables developers to create, manage, manipulate, convert and print Excel worksheets. Get free and professional technical support for Spire.XLS for .NET, Java, Android, C++, Python.

Thu Jan 03, 2019 10:52 am

Hi,
the macro Workbook_Open() is not executed when the file is loaded. When I open the file with Excel, the macro is called.
Are macros not executed in Spire.XLS?
I use the Free version of Spire.XLS (latest version).

Best regards,
Florian Held

heldflo
 
Posts: 3
Joined: Mon Dec 17, 2018 10:47 am

Fri Jan 04, 2019 2:00 am

Hi Florian,

Thanks for your inquiry.
Sorry that Spire.XLS doesn't support executing Macro at present.
If there is any other question, welcome to get it back to us.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Fri Mar 27, 2026 8:46 am

Hello,

Thank you for your patience.

I'm glad to inform you that our Spire.XLS for .NET now supports manipulating VBA Macro projects, covering creation, reading, modification, and deletion. Welcome to download and test [Spire.XLS Pack(Hotfix) Version:16.3.6].
Our website link: https://www.e-iceblue.com/Download/download-excel-for-net-now.html
NuGet link:
https://www.nuget.org/packages/Spire.XLS/16.3.6
https://www.nuget.org/packages/Spire.XLSfor.NETStandard/16.3.6

If you have any questions, please let us know.

Sincerely,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 3047
Joined: Wed Jun 27, 2012 8:50 am

Return to Spire.XLS