#1 [VB] Crear un archivo de excel desde VB
Necesito crear un archivo de excel desde visial basic que contenga como nombre la fecha en que es corrido el programa.
Que funcion debo utilizar?
Tengo el siguiente código:
Dim xloutput As New Excel.Application
Dim xlfileout As New Excel.Workbook
Dim xlsfileout As New Excel.Worksheet
Dim xlrout As Excel.Range
Set xlfileout = xloutput.Workbooks.Add
Set xlsfileout = xlfileout.Worksheets("Hoja1")
xlfileout.Save
xlfileout.Close
Que funcion debo utilizar?
Tengo el siguiente código:
Dim xloutput As New Excel.Application
Dim xlfileout As New Excel.Workbook
Dim xlsfileout As New Excel.Worksheet
Dim xlrout As Excel.Range
Set xlfileout = xloutput.Workbooks.Add
Set xlsfileout = xlfileout.Worksheets("Hoja1")
xlfileout.Save
xlfileout.Close
0