RE:COMO PUEDO PASAR DATOS DE VISUAL BASIC A EXCEL
Hola, primero esto:
'defines las variables para trabajar con instancias de EXCEL
Dim xlApp As excel.Application
Dim xlBook As excel.Workbook
Dim xlSheet As excel.Worksheet
'Creas la instancia:
Set xlApp = CreateObject("Excel.Application")
Set xlBook = xlApp.Workbooks.Add
Set xlSheet = xlBook.Worksheets(1)
'pasas los valores:
xlSheet.Cells(1, 1).Value = "ESTA ES LA CELDA A1"
'puedes formatear las celdas:
xlSheet.Range("a1", "f1").Cells.Font.Bold = True
'al final guardas el archivo en EXCEL, y cierras la instancia:
xlSheet.SaveAs "C:\excel_VB.xls"
xlSheet.Application.Quit
Set xlSheet = Nothing
Espero te ayude...salu2...