Solved

Make VBA Script Distributable as COM

Posted on 2007-11-15
2
478 Views
Last Modified: 2008-02-01
Hi,

I've put together a VBA script inside Microsoft Outlook's Visual Basic Editor.
It has a single form with code behind the form.

How do I take this Outlook VBA project and create a distributable file, I've heard people call it a COM object?

Thanks.
0
Comment
Question by:gamm
2 Comments
 
LVL 8

Expert Comment

by:Wikkard
ID: 20294536
Way to reuse your code to make a COM object would be to compile it with Visual Basic 6. You will need to make a few minor code changes probably.

This is the only way that I know of, AFAIK you can't compile a VBA project to an active x dll.
0
 
LVL 6

Accepted Solution

by:
Taconvino earned 200 total points
ID: 20298123
Check this out:

"Managing and Distributing Outlook VBA Projects"
http://support.microsoft.com/kb/229911/en-us

"How to create a COM add-in for Outlook 2002"
http://support.microsoft.com/kb/291163/EN-US/

Hope this helps!
TCV
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question