Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello, i am trying to use data from one form to input into
the next open form, what code would i need to use so that when i click the button to open the new form, the customer id and name will automaticlly be inserted. **please note that the existing window cannot be closed** Thank you, Robert Couchman |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Robert,
Here is one technique. First load the form, without showing it, transfer the data, and then show the form. Here is an example that transfers the contents of Textbox1 in form1 to Textbox1 in form2 Load UserForm2 With UserForm2 .TextBox1.Text = TextBox1.Text .Show End With -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "Robert Couchman" wrote in message ... Hello, i am trying to use data from one form to input into the next open form, what code would i need to use so that when i click the button to open the new form, the customer id and name will automaticlly be inserted. **please note that the existing window cannot be closed** Thank you, Robert Couchman |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to: Open closed workbook/Search data tables/Return data to open workbook | Excel Discussion (Misc queries) | |||
How to open XML data file? | Excel Discussion (Misc queries) | |||
how do i open a data workbook when i open a timesheet workbook | Excel Discussion (Misc queries) | |||
How to open without losing data? | Excel Discussion (Misc queries) | |||
Open Pivot Data | Excel Discussion (Misc queries) |