Hello,
Word 97...
I need to know how to declare variables set in a form procedure but used after the form is unloaded.
I'm setting my variable values in my cmdOK_Click procedure, but I need to use them after I unload the form, either back in the AutoNew module or in the next user form...
Thanks Justin. I had done some reading about Objects, how to reference them, and sort of knew what I needed to do last night, but was thinking something like: Load Forms(frmDlg_1) But your solution did the trick. Thanks!! -Natelle
When I say," do I need Dim statements," I mean for the frmDlg_1 form or the lstToOrg listboxes. There are Dim statements for the other variables already. Thx, Natelle
Hello,
VB training doesn't cover writing code in Word macros, so you guys and my own feeble brain are my only hope.
In trying to convert my WordBasic dialog boxes to the VB forms in an AutoNew macro, I get an "object required" error regarding my .List statement for the list box. See...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.