calling a module

  • Thread starter Thread starter phong.lee
  • Start date Start date
P

phong.lee

Hello all,

I created a button in excel that opens up a new work book when it's
clicked. I also created a module that grabs data from ms access. Is
there a way for me to call the module in the button also when clicked
on?

If i'm doing this incorrectly please advise. thank you.
 
Hello all,

I created a button in excel that opens up a new work book when it's
clicked. I also created a module that grabs data from ms access. Is
there a way for me to call the module in the button also when clicked
on?

If i'm doing this incorrectly please advise. thank you.

Hi Phong !!
You could write an event procedure in the access file
that runs your module when the file is opened.
Let me know if this suggestion is useful to you !
 

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

Similar Threads

programming command bars 3
Access Modules empty 0
to call procedure in a worksheet in a module 4
VBA - Run time error when modules combined??? 7
VB Modules 8
Run multiple macros 4
Module to run a macro 2
Add-Ins 6

Back
Top