Excel Development through .NET Macro Loss

Good afternoon,

I have an Excel template file containing macros that I upload to .Net. An excel document is created on an individual basis (in the same format, but with different data, depending on what the user selects). When the Excel document is loaded, the macros disappeared, does anyone know why and how to solve the problem?

thanks

+4
source share
1 answer

If you use MS Office 2007, you need to consider that Excel Workbook (* .xlsx) does not support macros.

You need to save it as an Excel Macro-Enabled Workbook (* .xlsm).

+3
source

Source: https://habr.com/ru/post/1300635/


All Articles