Private Sub Command1_Click()
CommonDialog1.ShowOpen
'abre el fichero para leer
fichero = FreeFile
Open CommonDialog1.FileName For Input Access Read As #fichero
' Leer la información del fichero
file = Input(LOF(fichero), fichero)
Text1.Text = file
tama = Len(file)
End Sub