How do i get data from 1 form to another.
example:
in form 1 when user enters something in inputbox(“”) send the data to form 2/and display it in.
Sub form1()
InputBox("Enter something " & Num, "Read Names")
form2.show
end sub
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There are many ways you could do this, for example create an instance of form2, and set the property of one of its controls before you show it. If form2 has a label control called Label1:
As per your comment, you can add the string to the listbox the same way you set the lable: