vean esto porfavor ver archivo vacio o no
aca hice algo pero no se por que no me reconoce el archivo cuando esta lleno solamente vacio si saben porfavor digan
Private Type t_persona
clave As String
End Type
Private Sub registro()
Dim persona As t_persona
Open App.Path + "texto.txt" For Random As #1
If Not persona Then
MsgBox ("vacio")
Else
MsgBox ("lleno")
End If
Close
End Sub
Private Type t_persona
clave As String
End Type
Private Sub registro()
Dim persona As t_persona
Open App.Path + "texto.txt" For Random As #1
If Not persona Then
MsgBox ("vacio")
Else
MsgBox ("lleno")
End If
Close
End Sub
