access module out of excel vba

  • Thread starter Thread starter kyle775
  • Start date Start date
K

kyle775

I used to use some vba code i found on the internet to calculate check
digits for upc codes, i want to do this from an access query now, not
in an excel sheet. I just copied the vba from excel into an access
module and tried calling the function in a query. But i get something
about an ambiguous name or something..

did i do this the right way? what is missing here?
 
Sorry, you're not giving enough details.

What's the function you created? What did you name the module in which you
created it?

What's the exact error message you're getting?

(For that matter, it might help to see the actual code of your function)
 
ambiguous name is indicating that you might just have a function there yet
with the same name... But in addition to Douglas' post, hand a little more
info if you need us to take a look at it.

Maurice
 
it sounds to me like you pasted it twice or somethign
give us your code, we'll help you figure it out
 
I used to use some vba code i found on the internet to calculate check
digits for upc codes, i want to do this from an access query now, not
in an excel sheet. I just copied the vba from excel into an access
module and tried calling the function in a query. But i get something
about an ambiguous name or something..

did i do this the right way? what is missing here?

Hello!, i actually figured this out, i had created two modules or
something, any way it works now. I have another problem though, for
another post.
 

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

Back
Top