?
Solved

Make VBA Script Distributable as COM

Posted on 2007-11-15
2
Medium Priority
?
483 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 800 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

752 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