A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Try the following. Note the variables dimensioned as Objects. (not New)
Sub Export_to_excel()
Dim xlApp As Object
Dim xlWB As Object
Set xlApp = CreateObject("Excel.Application.14")
xlApp.Visible = True
Set xlWB = xlApp.Workbooks.Add
End Sub