Is it possible to create Excel Add-Ins in a shape of .dll?
If Yes, please suggest me the way to create it.
Is it possible to create Excel Add-Ins in a shape of .dll?
If Yes, please suggest me the way to create it.
I personally have no idea what you mean by ... in a shape of .dll? You can certainly create COM addins in VB6.
____________________________________________
Nihil simul inventum est et perfectum
Abusus non tollit usum
Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
James Thurber
Thank you very much 'XLD'
Excel add-ins are created with extension '.xla'. I want to get the same result making a Com addin using VB6. But don't know how to create.
Here is a user function to be used freely in Excel:
[vba]
Function Message()
MsgBox "Thank you very much"
End Function
[/vba]
I want to get that function coded in a Com Add-Ins using VB6 so that it can be used in Excel.
First of all, do you have VB6?
Secondly, have you ever you used it? Do you know how to create dlls with VB6?
____________________________________________
Nihil simul inventum est et perfectum
Abusus non tollit usum
Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
James Thurber
I know to create dlls with vb6.Originally Posted by xld
The only thing I am stumbled over is the way to use the code as mentioned above in the dll. So that the function =Message() can be invoked in any excel worksheet at any time by the user to display the message "Thank you very much".
I have compiled the function in xla and found working, but I want to know the way to compile the same function in dll using vb6.
Is what I want to know not possible?
Here try this link, this should show you exactly what you want to do.
http://www.cpearson.com/excel/CreatingCOMAddIn.aspx
Thank you very much JKwan.
Problem solved