How to add a Macro (.bas file) in Excel?

C

cizzo

I am a newbie when it comes to this.
Someone has a macro as a .bas file.
How do I go about importing this as a button in excel?

Thank you in advance.
 
J

Jim Thomlinson

In the VBE select select File | Import and then browse to find the
appropriate .bas file.
 
M

M. Authement

I'm not sure about importing as a button, but to import a .bas file...in the
VBE go to File\Import, navigate to the folder location of the .bas file,
then click the OK button.

Maybe the .bas file has some commandbar code which creates a button?
 

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