sounds like you must have a module with the name DTPicker as well
i tested that it will definitley give that error
try this instead
vb Code:
If TypeName(ctl) = "DTPicker" Then 'do stuff
|
Results 1 to 11 of 11
Threaded View
|
Click Here to Expand Forum to Full Width |