missed your post. s/b a reply to mine :)
Add Option Explicit to all your modules and classes.
then try to compile.
If Form2 cannot compile you'll get the error as indicated.
I had your code working, but binned the project.
--
keepITcool
|
www.XLsupport.com | keepITcool chello nl | amsterdam
Hemant_india wrote in
hi keep'cool
Dim frm2 As New Form2'<====Here I get error msg
i am still confused.