como sacar los datos introduzidos de un INPUTBOX
Como puedo sacar los datos que introduzca en el INPUTBOX, i hacer que se me muestre en un TEXTBOX???
Para guardar los datos de un inputbox le debes referir ese IB a una variable
ej: A = InputBox("Mensaje")
Asi te quedara guardada la info en la variable A, luego puedes desplegar su contenido en donde mas quieras.
Saludos
ej: A = InputBox("Mensaje")
Asi te quedara guardada la info en la variable A, luego puedes desplegar su contenido en donde mas quieras.
Saludos
Private sub command1_clik()
Nombre= inputbox("Escribe tu nombre")
Apellido=inputbox("Escribe tu apellido")
Edad=inputbox("Escribe tu edad")
If Nombre<>"" then
text1.tex=nombre
end if
If Apellido<>"" then
text2.tex=Apellido
end if
If Edad<>"" then
text3.tex=edad
end if
End sub
Un saludo
Jose Oscar
Nombre= inputbox("Escribe tu nombre")
Apellido=inputbox("Escribe tu apellido")
Edad=inputbox("Escribe tu edad")
If Nombre<>"" then
text1.tex=nombre
end if
If Apellido<>"" then
text2.tex=Apellido
end if
If Edad<>"" then
text3.tex=edad
end if
End sub
Un saludo
Jose Oscar
