Subj : How to make DLL for MS EXCEL? To : borland.public.cpp.borlandcpp From : Cactus Date : Sat Oct 09 2004 09:56 pm I want use BCB 5.5 make a DLL, it can be call(load) by Excel VBA. do somebody know that? Thanks. ------------------------------- Excel VBA code. [Public | Private] Declare Sub name Lib "libname" [Alias "aliasname"] [([arglist])] [Public | Private] Declare Function name Lib "libname" [Alias "aliasname"] [([arglist])] [As type] Eg. #If Win32 Then Declare Sub MessageBeep Lib "User32" (ByVal N As Long) #Else Declare Sub MessageBeep Lib "User" (ByVal N As Integer) #End If .