2

I am trying to add a new form that a programmer sent me for a specific UIButtonControl. When I import the form into Visual Basic following the steps they sent me, it imports the form as a module instead of a new form. when I try to use the new UIButtonControl button that I created with the module, it gives me this error: Compile Error. Invalid outside procedure. Both the programmer and myself feel it is because visual basic is bringing the form in as a module instead of a form, can anyone help me fix this please?

1
  • are you both developing in VBA? Or has the programmer created the form in VB6 and you are importing it into VBA? In VBA, this should be a straight forward export - import (the form export generated 2 files .frm and .frx) Commented Dec 16, 2010 at 13:35

1 Answer 1

1

If you are both using VBA you could have the programmer save the form and the code in the document. He could then send you the document complete with the UI button and the form so you could test it on your end.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.