Hi Alain.
Unfortunately, I cannot replace my ActiveX object as it is the core object of my grouped shape. That's why I must group a chart and this ActiveX together.
Main Topics
Browse All TopicsI have created a group Shape with Excel 2003. This groupShape contains other shapes like a picture, a chart or an ActiveX object.
I would like to keep the same behaviour when opening the file in Excel 2007; but according to the Microsoft documentation (http://technet.microsoft.
So, when I open my file with Excel 2007, my objects are not grouped any more (because I have picture (usual shape) grouped with an ActiveX object(not usual shape)).
How can I change my file in order to keep my grouped shapes when opening in Excel 2007?
Several possibility (but I don't know if they are feasible...):
- tell Excel 2007 not to convert usual shapes into new Excel 2007 shape object (instruction, special format)
- transform my picture and chart into non-convertible shape, so that it remains grouped with the activeX object
Other possibilities are welcomed too.
Thanks,
Guy.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Well the reason they can't be grouped together is because the chart is stored in the Worksheet.shapes, and the activeX stuff is stored in Worksheet.OLE objects. When you group something, it creates a new object of that type and creates child objects for that object(like a tree). You cannot group items of different object types because they cannot have a common parent type.
Therefore, if you can't convert the activeX objects - you might have to do something crazy like a vbscript that moves the chart wherever your activeX object moves.
--
Alain
Business Accounts
Answer for Membership
by: alainbrydenPosted on 2009-06-04 at 14:12:50ID: 24551485
Can you replace your ActiveX object with an equivalent form object?
i.e. Button (Form Control) instead of Command Button (ActiveX Control)
~Alain