Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Can I make VB programs external?

I have a workbook with 500k of VB. Is it possible to externalize the
VB code so that other workbooks can reference it and execute the
programs...without loading the VB?
thanks
chuckm

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Can I make VB programs external?

Yes, put your code in an addin.

See Jan Karel Pieterse's tutorial at:

http://www.jkp-ads.com/Articles/DistributeMacro00.htm

http://support.microsoft.com/?id=167909
XL: Securing Visual Basic Code in Microsoft Excel

http://support.microsoft.com/?id=156942
XL97: How to Create an Add-in File in Microsoft Excel 97

http://support.microsoft.com/?id=211563
How to create an add-in file in Excel 2000

http://msdn.microsoft.com/library/en...xceladdins.asp

http://msdn.microsoft.com/library/en...exceladdin.asp

http://www.j-walk.com/ss/excel/tips/tip45.htm
Excel 97: Creating Add-Ins

--
Regards,
Tom Ogilvy

"chuckm" wrote in message
ups.com...
I have a workbook with 500k of VB. Is it possible to externalize the
VB code so that other workbooks can reference it and execute the
programs...without loading the VB?
thanks
chuckm



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Can I make VB programs external?

No. The VBA code, whether in a file or add-in, must be loaded in
order to run.


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


"chuckm" wrote in message
ups.com...
I have a workbook with 500k of VB. Is it possible to
externalize the
VB code so that other workbooks can reference it and execute
the
programs...without loading the VB?
thanks
chuckm



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
run external programs Stephen Miller Excel Discussion (Misc queries) 1 May 24th 10 09:40 PM
Copying Excel 2007 data to external programs Cindy Excel Discussion (Misc queries) 3 October 27th 08 03:57 PM
How to make up an excel book that I can import other programs in jumlor Excel Worksheet Functions 1 August 5th 08 08:44 PM
Column Selection using external programs olitong Excel Discussion (Misc queries) 0 December 21st 05 05:08 PM
Running external programs Alan Beban[_4_] Excel Programming 4 December 20th 03 03:06 PM


All times are GMT +1. The time now is 03:15 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"