Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ByRef type Mismatch error

Status
Not open for further replies.

sweetleaf

Programmer
Jan 16, 2001
439
CA
Hi there,

I am calling a public sub that resides in a VB project which expects several inputs og string and variant type.

I am passing from an ms excel project and I am passing the right data type (string) and yet I get a "ByRef type mismatch error" - does anyone know why this is?

Thanks!

 
Thanks John,

I worked it out - the problem actually stemmed from not being able to create the object from my calling xsub.
It's fixed now though - thank you!

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top