Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
Tanihera
 
Posts: n/a
Default ActiveX control with chart


Hi Jon

Did you ever resolve this issue you discussed with Erich Neuwirth? I
have an almost identical problem: I've OLEembedded various activex
picture controls on worksheets, only to find I can't load images into
them, see images in them, or see their properties and methods.

I can activate an object using MyObject.Active, but this seems to
change nothing. I can select an OLEObject with MyObject.Select, but
then using With Selection, the tipswindow only shows the sheet
properties, not the OLEobject properties.

As you say, it seems like all Excel can see is the Shape that encloses
the control. I'd be extremely grateful for any help from anyone.



Jon Peltier wrote:
[b]Hi Erich -

Last year I installed a third party ActiveX chart control, thinking
I'd
use it for some funky new charts. Five minutes ago I used it for the
first time, to get a handle on your question. I insert the chart
using
Insert menu Object, and selecting it from the list.

I could activate the control's dialog with the right button, but
otherwise I couldn't select or activate the control. The best I could
do
in vba was to change its position (activesheet.shapes(1).top and
.left)
and its size (.width and .height) but not its aspect ratio.

Then I switched to design mode (click the quaint T-square and
triangle
button on Excel's Visual Basic command bar). This enabled me to
select
the objects, move and size it with the mouse, and change the aspect
ratio.

Interestingly, as soon as I ran something from the VB Editor, Excel
exited design mode, and VB was unable to do very much. Excel created
a
reference to the control, but for the life of me, I could see
nothing
that talked of a container for the control. I suspect the container
is
just a nondescript Shape.

Seems like all Excel can see is the Shape that encloses the control.

- Jon




--
Tanihera
------------------------------------------------------------------------
Posted via http://www.mcse.ms
------------------------------------------------------------------------
View this thread: http://www.mcse.ms/message953530.html

  #2   Report Post  
Posted to microsoft.public.excel.charting
Jon Peltier
 
Posts: n/a
Default ActiveX control with chart

A blast from the past. I suspect I gave up on the ActiveX charting control,
since I don't remember anything further.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______

"Tanihera" wrote in message
...

Hi Jon

Did you ever resolve this issue you discussed with Erich Neuwirth? I
have an almost identical problem: I've OLEembedded various activex
picture controls on worksheets, only to find I can't load images into
them, see images in them, or see their properties and methods.

I can activate an object using MyObject.Active, but this seems to
change nothing. I can select an OLEObject with MyObject.Select, but
then using With Selection, the tipswindow only shows the sheet
properties, not the OLEobject properties.

As you say, it seems like all Excel can see is the Shape that encloses
the control. I'd be extremely grateful for any help from anyone.



Jon Peltier wrote:
[b]Hi Erich -

Last year I installed a third party ActiveX chart control, thinking
I'd
use it for some funky new charts. Five minutes ago I used it for the
first time, to get a handle on your question. I insert the chart
using
Insert menu Object, and selecting it from the list.

I could activate the control's dialog with the right button, but
otherwise I couldn't select or activate the control. The best I could
do
in vba was to change its position (activesheet.shapes(1).top and
.left)
and its size (.width and .height) but not its aspect ratio.

Then I switched to design mode (click the quaint T-square and
triangle
button on Excel's Visual Basic command bar). This enabled me to
select
the objects, move and size it with the mouse, and change the aspect
ratio.

Interestingly, as soon as I ran something from the VB Editor, Excel
exited design mode, and VB was unable to do very much. Excel created
a
reference to the control, but for the life of me, I could see
nothing
that talked of a container for the control. I suspect the container
is
just a nondescript Shape.

Seems like all Excel can see is the Shape that encloses the control.

- Jon




--
Tanihera
------------------------------------------------------------------------
Posted via http://www.mcse.ms
------------------------------------------------------------------------
View this thread: http://www.mcse.ms/message953530.html



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to control chart properties from worksheet Marko Pinteric Excel Discussion (Misc queries) 3 April 5th 06 12:38 PM
How to control chart properties from worksheet Marko Pinteric Charts and Charting in Excel 1 April 5th 06 12:38 PM
Excel 2000 ActiveX Control Problem Andy Excel Discussion (Misc queries) 1 March 23rd 06 08:16 PM
API for MS Chart Control bill Charts and Charting in Excel 1 September 12th 05 07:00 PM
Tab to an ActiveX control? Karin Excel Discussion (Misc queries) 0 July 6th 05 05:08 AM


All times are GMT +1. The time now is 04:56 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"