Ok, I've created a form using the Designer. The object the new form is set
to is called newfrmtemp as shown below.
Set newFrmTemp = ActiveDocument.VBProject.VBComponents.Add(vbext_ct_MSForm)
I need to be able to show this form but unless I assign it a name and show
it that way I can't get the stupid form to show. I need to be able to show
the form by the object I assigned it to and not the name. Please help. I
would think this would be obvious but I haven't found the answer anywhere.
Thanks in Advance!!!
msdickey - 14 Dec 2004 21:19 GMT
Nevermind. I was viewing some posts in another area to see if I could help
someone else while waiting for someone to help me. I came across a
completely different problem where they had the answer to my question. All I
can say is Karma!
Here's the answer in case someone else has the same issue.
VBA.UserForms.Add(TempForm.Name).Show
> Ok, I've created a form using the Designer. The object the new form is set
> to is called newfrmtemp as shown below.
[quoted text clipped - 7 lines]
>
> Thanks in Advance!!!