Create a button on excel document

I can create an Excel document with Aspose.Cells from an ASP.net page.
I need to create some kind of button and also some VBA code connected to this buttons click event.

Here is an example of me creating the excel document:

using Aspose.Cells;

    protected void btnCreate_Click(object sender, EventArgs e)
    {
        // Create a new Excel workbook
        Workbook workbook = new Workbook();
        Worksheet worksheet = workbook.Worksheets[0];

// code to generate a button
// create a click event for the button
// in the click event, with VBA code insert today’s date in cell A1

        // Save the workbook
        string fileName = "EmployeeInfo.xlsx";
        string filePath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, fileName);
        workbook.Save(filePath);

        TextBox1.Text = "The file has been created on the server: " + filePath;
		
    }

@miguels,

See the documents with example code to accomplish your task for your reference.

Hope, this helps a bit.