Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have several vba code files (*.vba, *.frm).
How can I add, not import, them to another project using VBA coding just like insert API functions? Am I clear? BTW, how to using vba code to add reference (like solver)? Thanks -- Message posted from http://www.ExcelForum.com |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You can add the files to a project with code like
ThisWorkbook.VBProject.VBComponents.Import _ Filename:="C:\temp\module1.bas" -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "Excel4Engineer " wrote in message ... I have several vba code files (*.vba, *.frm). How can I add, not import, them to another project using VBA coding, just like insert API functions? Am I clear? BTW, how to using vba code to add reference (like solver)? Thanks. --- Message posted from http://www.ExcelForum.com/ |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Import underscore in coding every after 2 digits | Excel Worksheet Functions | |||
How do I import and merge Excel data into a master project file? | Excel Discussion (Misc queries) | |||
how do i insert a code bar or link to a adobe designer file | Excel Worksheet Functions | |||
How do I insert/update VBA code into a sheet? (using a CLS file?) | Excel Programming | |||
Use VBA code to open a text file with the import wizard | Excel Programming |