Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default Can I "compile" VB into an executeable program?

I've got a bunch of macros in my workbook (500kb). This workbook
will be used as a template for others to use, enter data and run the
macros. Is there a way to compile the VB so that it won't take up so
much space?
thanks
chuck
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 80
Default Can I "compile" VB into an executeable program?

Chuck,

VBA does not produce .exe. What you can do is store all the macros in an
add-in and place it on a shared network drive where all users can access it
from, without each keeping their own copy. This is even more important if
the template is to be saved as different workbooks often, each containing
all the code in the template! Moreover, the add-in approach allows you to do
code modifications, if required, in one place, and available to all users.

HTH,
Nikos

"ChuckM" wrote in message
m...
I've got a bunch of macros in my workbook (500kb). This workbook
will be used as a template for others to use, enter data and run the
macros. Is there a way to compile the VB so that it won't take up so
much space?
thanks
chuck



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 459
Default Can I "compile" VB into an executeable program?

You can create compiled COM or managed code add-ins as DLLs using Visual Studio.

--

(ChuckM) wrote in message om...
I've got a bunch of macros in my workbook (500kb). This workbook
will be used as a template for others to use, enter data and run the
macros. Is there a way to compile the VB so that it won't take up so
much space?
thanks
chuck

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
Get a VB "Compile error in hidden module: DistMon" at start Dave Excel Discussion (Misc queries) 1 August 10th 09 12:19 AM
How correct (or remove) "Compile error in hidden module: DistMon" wlfoote Excel Discussion (Misc queries) 1 June 6th 09 02:57 AM
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
Complex if test program possible? If "value" "value", paste "value" in another cell? jseabold Excel Discussion (Misc queries) 1 January 30th 06 10:01 PM
Compile Error in Excel 2004 when Inputbox contains "VBCRLF" QTP Professional Excel Discussion (Misc queries) 1 November 18th 05 11:47 PM


All times are GMT +1. The time now is 06:21 PM.

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"