Import VBA Code in Excel-File ? (Export VBA Code to file)

M

Matthias Pospiech

I have a large base of VBA Code. It imports and rewrites some data.

Currently I have the code inside every sheet together with the data.
It would be much better if there was only one file for the code, which could
be used in all the files where I need them - as a libary.

How can I do that ?

Matthias
 
C

Chip Pearson

The best way would be to put all the code in a single workbook,
and then save that workbook as an Add In. (Just go to the File
menu, choose Save As, and change "Save As Type" to "Excel
Add-In", at the bottom of the list).


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
 
B

Bob Phillips

Lookup Creating Add-Ins in Google.

--

HTH

RP
(remove nothere from the email address if mailing direct)
 

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