ActiveX 2010 on Excel Form

TeeChart for ActiveX, COM and ASP
Post Reply
Jurgen
Newbie
Newbie
Posts: 3
Joined: Mon Aug 22, 2011 12:00 am

ActiveX 2010 on Excel Form

Post by Jurgen » Tue Aug 23, 2011 8:52 am

Hello,
When I want to put TChart & TeeCommander in en Excel Form , I received the error: 'Element not Found'.
I can add the components on the Excel worksheets. The samples provided also work, But for some reason I can not get Tchart on a MSForm in an Office application.
I'm using version 2010.0.03 and Office 2010 on Windows 7 (with administrator rights)

Can you help me out?

regards,
Jurgen

Yeray
Site Admin
Site Admin
Posts: 9613
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: ActiveX 2010 on Excel Form

Post by Yeray » Wed Aug 24, 2011 10:34 am

Hello Jurgen,

Can you add another ActiveX control in the same form where TChart fails?
If yes, can you please attach that simple example here?
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Jurgen
Newbie
Newbie
Posts: 3
Joined: Mon Aug 22, 2011 12:00 am

Re: ActiveX 2010 on Excel Form

Post by Jurgen » Wed Aug 24, 2011 1:57 pm

Hello Yeray ,
Thanks for looking at my issue.
I can add other controls to that form, such as a simple commandbutton, but also a Windows Browser or Adobe Reader control.
I receive the error when adding a TChart, a TeeCommander etc to the form.
I can add a TChart in the worksheet.
sample workbook added in attachment. An .xlsm file was refused so I put it in a zip.

regards,
Jurgen
Attachments
TChart Test.zip
(29.31 KiB) Downloaded 614 times

Yeray
Site Admin
Site Admin
Posts: 9613
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: ActiveX 2010 on Excel Form

Post by Yeray » Mon Aug 29, 2011 12:43 pm

Hello Jurgen,

Excuse us for the delayed reply.
Thanks for the worksheet example (that works fine) but we'd need the MSForms application example. I'm not an office expert and I'm not sure about what exactly is.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Jurgen
Newbie
Newbie
Posts: 3
Joined: Mon Aug 22, 2011 12:00 am

Re: ActiveX 2010 on Excel Form

Post by Jurgen » Mon Aug 29, 2011 12:52 pm

Hello,
With MSForms I just mean the UserForms you can add/create in Excel or any other MS Office Application.
Steps to make sure we are talking about the same:
* open Excel
* press ALT F11 to open the Visual Basic Editor
* In the menu , select Insert | UserForm
* On this Form, I can add the usual MS Form Objects (buttons etc), other objects as browser, pdf. But not a TChart
note: I did add a reference to TeeChart ActiveX Object Library

regards,
Jurgen

Yeray
Site Admin
Site Admin
Posts: 9613
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: ActiveX 2010 on Excel Form

Post by Yeray » Mon Aug 29, 2011 3:22 pm

Hello Jurgen,

Thanks for the steps. I could add a chart to the UserForm without problems.
UserForm.png
UserForm.png (61.26 KiB) Viewed 7537 times
Libro1.zip
(11.54 KiB) Downloaded 588 times
I'm on Windows 7 x64, Office Professional 2010 (14.0.5128.5000) (32 bits), TeeChart AX 2010.0.0.3.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply