Modifying VBA or Macro Code using Aspose.Cells

Contents
[ ]

Example

The following sample code loads the source Excel file which has the following VBA or macro code inside it

 Sub Button1_Click()

MsgBox "This is test message."

End Sub

After executing the Aspose.Cells sample code, the VBA or macro code will be modified as follows

 Sub Button1_Click()

MsgBox "This is Aspose.Cells message."

End Sub

You can download the source Excel file and the output Excel file from the given links.