How can I assign a value to a declared variable in a form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need to assign a value from a table to a declared variable in VBA (a
declared variable "Number" takes on a value from table X) It's probably not
hard, but i'm confused about the syntax
 
Did you start the procedure with:
Dim X As Variant

If that doesn't solve it post your procedure.
 
It did work. I changed it from an interger to a double and it works great.
Thank you very much
 

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