Type mismatch

N

Nigel Barton

Can anyone help? I am getting "Type mismatch (error 13)" when I try to call a
method. The method is on a class module. The call is from a userform sub.

The call:
Dim DataSource as Leaf ...
Set DataSource = new Leaf
.... various properties of DataSource are used successfully ...
.... then the problem call ...
DataSource.Insert 1,"^" <<. msg occurs trying to execute this line
....

The method:
In class module "Leaf" ...

Public Sub Insert (ipOrdinal, ipSubValue)

Dim Ordinal
Dim SubValue
.... various statements
.... call to another method
Exit Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top