How to set the value of a VBA variable with a command button

M

Marshall Barton

Steve said:
I need to set a variable in my vba code from a command button...how is that
done?


simply use:
myvariable = something

But the usefulness of setting the variable depends on
where/how the variable is declared and where/how it is used.
 

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