Use External Function

G

Guest

I want to use a function defined in one workbook within the VBA code of
another workbook.

My code looks like

b = 0
a = [personal.xls].UseIsOK(b)

but I get an error message

run time error 424

object required

The called function requires no arguments, but I get the same error message
if I use

a = [personal.xls].UseIsOK()
or
a = [personal.xls].UseIsOK

Any help would be appreciated.

Thanks.

Marvin
 

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