Passing values between forms
Posted on 2003-03-17
Ok, here's the way it goes. (VBA btw) I have 4 forms, we'll call em, Form1, Form2, Form3, Form4. Form1 loads first, then 1 shows 2, 2 shows 3, and 3 shows 4. So I have a value that i want to pass between these forms and I've tried something like
public sub commanbutton1.click
public sub userform_initialize(passvar as integer)
the thing is that I keep getting an error that says "event procedure declaration does not match description of event having the same name." is there a way to pass the variables? I've also got these 4 forms that have been created, and I was reading something that mentioned parent and child forms, but didn't go in depth into what they were. would this have any applicability in my situation?