Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
50
Preserve macros, buttons of Infragistics.Excel.Workbook
posted

Hello,

is there any way to open an existing Excel document that contains macros and control elements (such as buttons) and preserve them until the document is being saved again? 

Dim wb As Infragistics.Excel.Workbook = Infragistics.Excel.Workbook.Load("MyExcel.xls")
wb.Save(
"MyExcel2.xls")

=> All macros, buttons etc. lost in MyExcel2.xls.

Thanks

Max

Parents
No Data
Reply Children