Try this...
Public Sub Initialize(cmb As Variant)
Dim cc As ComboBox
Set cc = cmb
> I created a new ActiveX dll project
added a class
and aded a public sub FillCombo ( c as combo)
but when i compiled it I got the error message
private object modules cannaot be used in public object modules as
parameters or return types for public procedures, as public data members,
or
as fields of public user defined types.
what can I do .........
I know how to use the Dll Function in my Apps but how can I create Such Dll
Regards...