Hi,

I was wondering if you would take a look at my prior post "How to reference
Userform in another project." I have responded to your suggestion but still
need help.

Thank you!
--
singeredel

Re: Jezebel or other helper by Jezebel

Jezebel
Tue Feb 22 16:11:06 CST 2005

OK, here's one way to do it --

In Hannani_Test, add a module (or use an existing module if there is one).
Add this code --

Public Property Get ReportForm() as frmCreate_Hannani_Report
Set ReportForm = new frmCreate_Hannani_Report
End Property


Then in the calling project, use --

Sub Test()

With Hannani_Test.ReportForm
.txtReportDateMonth = "02"
:
.Show
End with
End Sub





"singeredel" <singeredel@discussions.microsoft.com> wrote in message
news:54650AED-B649-46AB-9A13-114E208C011A@microsoft.com...
> Hi,
>
> I was wondering if you would take a look at my prior post "How to
> reference
> Userform in another project." I have responded to your suggestion but
> still
> need help.
>
> Thank you!
> --
> singeredel



Re: Jezebel or other helper by singeredel

singeredel
Tue Feb 22 17:41:03 CST 2005

Thank you SO MUCH for answering so promptly. It finally works! The only
change I had to make to get it to run was to change Hannani_Test.ReportForm
to just Hannani.ReportForm. (from referencing the Template to referencing the
Project)

A hundred thanks again!

"Jezebel" wrote:

> OK, here's one way to do it --
>
> In Hannani_Test, add a module (or use an existing module if there is one).
> Add this code --
>
> Public Property Get ReportForm() as frmCreate_Hannani_Report
> Set ReportForm = new frmCreate_Hannani_Report
> End Property
>
>
> Then in the calling project, use --
>
> Sub Test()
>
> With Hannani_Test.ReportForm
> .txtReportDateMonth = "02"
> :
> .Show
> End with
> End Sub
>
>
>
>
>
> "singeredel" <singeredel@discussions.microsoft.com> wrote in message
> news:54650AED-B649-46AB-9A13-114E208C011A@microsoft.com...
> > Hi,
> >
> > I was wondering if you would take a look at my prior post "How to
> > reference
> > Userform in another project." I have responded to your suggestion but
> > still
> > need help.
> >
> > Thank you!
> > --
> > singeredel
>
>
>