Click here to Skip to main content
15,884,986 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to wirte an ActiveX control that can be used in Excel or other Office application by C # 2008 or VB 2008?

Thanks very much!
Tiger
Posted
Comments
Richard MacCutchan 23-May-10 11:48am    
Your comment below does not add anything to your original question. Perhaps you could try and explain exactly what your problem is. If it is merely that you do not know how to write an ActiveX using C# then I refer you again to the link I posted earlier.
hxhgxytiger 24-May-10 10:40am    
For example, in Excel worksheet, i can insert a custom control, e.g. i can insert a Calendar control into worksheet. i can also make a custome control in VB 6.0 and insert it into worksheet. of course, those control can be used in VBA Userform as well.

However, i tried to make custom control in C#. the control cannot be registered in Excel. the control cannot be added to Toolbox in Excel VBA either.

1 solution

I expect you will need to start by studying this[^].
 
Share this answer
 
Comments
hxhgxytiger 23-May-10 10:43am    
Thanks for the information!
I know how to create ActiveX control in VB 6 and use in Excel userform and worksheet. However, I dont know how make the ActiveX control in C # can be used in Excel...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900