> Weren't Com-Add-ins first
> introduced in OfficeXP?
Com-Add-ins were first introduced in Excel 2000. Automation Add-ins were
introduced in Excel 2002, which allowed UDF's to be called directly from the
sheet, instead of via a helper helper UDF in VBA.
You can make your ActiveX dll, ie the Com-addin, available for use in
Excel97 by adding an additional Public class to the dll. You also need a VBA
'wrapper' to call functions or other procedures in the public class.
Regards,
Peter T
"OfficeUser" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Chip,
>
> Thanks for the quick response!
>
> I want to create an Add-In for Excel that will work in all versions of
Excel
> from 97 to 2007. Can a COM Add-in be used? Weren't Com-Add-ins first
> introduced in OfficeXP?
>
> Thanks!
>
>
> "Chip Pearson" <(E-Mail Removed)> wrote in message
> news:OrX$4%(E-Mail Removed)...
> > VB/VBA can be used to create ActiveX DLL files, not Win32 DLL files
(those
> > accessed with the Declare statement in VBA). The typical DLLs created by
> > VB/VBA are COM Add-Ins or Automation Add-Ins. These are special cases of
a
> > generic ActiveX DLL.
> >
> > See http://www.cpearson.com/excel/CreatingCOMAddIn.aspx for details
about
> > writing a COM Add-In for Excel (and other Office applications) and see
> > http://www.cpearson.com/excel/AutomationAddIns.aspx for details about
> > writing Automation Add-Ins.
> >
> > --
> > Cordially,
> > Chip Pearson
> > Microsoft Most Valuable Professional
> > Excel Product Group, 1998 - 2008
> > Pearson Software Consulting, LLC
> > www.cpearson.com
> > (email on web site)
> >
> > "OfficeUser" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> >> Two questions ............
> >>
> >> 1. Can VBA be used to create the procedures in a dll file?
> >>
> >>
> >> 2. Can anyone give me recommendations for free downlaodable tools for
> >> compiling a dll file?
> >>
> >>
> >> Thanks!!
> >>
> >
>
>