Private objExcel As Object
Private xLibro As Object
Private Sub Timer1_Timer()
text1.text = cells(1, 2)
End Sub
Private Sub Command1_Click()
Dim Col As Integer, Fila As Integer
Set objExcel = New Excel.Application
Set xLibro = objExcel.Workbooks.Open("C:hoja.xls")
objExcel.Visible = True
With xLibro
With .Sheets(1)
text1.text = cells(1, 2)
cells(2, 2) = Text2.Text
End With
End With
End Sub