Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
In office 2007 my code I use to auto-execute command bar functions don't work
any longer for drawing shapes. Other items like New workbook work fine. For example, this line of code when executed in the immediate window of Excel VBA should draw a freeform shape: excel.CommandBars.FindControl(,200).Execute The cursor does indeed change to that used for drawing a freeform (ID=200), and the freeform buttons on the Insert-Shapes ribbon are indeed depressed just as they are when you manually initiate drawing by clicking on the button. Any ideas? Is the interface being deprecated? Any help would be greatly appreciated. Jeff |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
It looks like we've lost some functionality. Even the new ribbon commands
have the same non-result: CommandBars.ExecuteMso "ShapeFreeform" -- Jim "Jeff Abbott" wrote in message ... | In office 2007 my code I use to auto-execute command bar functions don't work | any longer for drawing shapes. Other items like New workbook work fine. | | For example, this line of code when executed in the immediate window of | Excel VBA should draw a freeform shape: | | excel.CommandBars.FindControl(,200).Execute | | The cursor does indeed change to that used for drawing a freeform (ID=200), | and the freeform buttons on the Insert-Shapes ribbon are indeed depressed | just as they are when you manually initiate drawing by clicking on the button. | | Any ideas? Is the interface being deprecated? | | Any help would be greatly appreciated. | | Jeff |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm working on upgrading a VB6 application to Office 2007. Is there a
reference or sample COM Add-in that demonstrates how to integrate with the Fluent UI using VB6? "Jim Rech" wrote: It looks like we've lost some functionality. Even the new ribbon commands have the same non-result: CommandBars.ExecuteMso "ShapeFreeform" -- Jim "Jeff Abbott" wrote in message ... | In office 2007 my code I use to auto-execute command bar functions don't work | any longer for drawing shapes. Other items like New workbook work fine. | | For example, this line of code when executed in the immediate window of | Excel VBA should draw a freeform shape: | | excel.CommandBars.FindControl(,200).Execute | | The cursor does indeed change to that used for drawing a freeform (ID=200), | and the freeform buttons on the Insert-Shapes ribbon are indeed depressed | just as they are when you manually initiate drawing by clicking on the button. | | Any ideas? Is the interface being deprecated? | | Any help would be greatly appreciated. | | Jeff |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Not really my area but I understand chapter 18 of Stephen Bullen's et al.
book discusses it: http://www.oaltd.co.uk/Excel2007ProgRef/default.htm based on his comment at the end of this page: http://www.dailydoseofexcel.com/arch...ers-reference/ -- Jim "Jeff Abbott" wrote in message ... | I'm working on upgrading a VB6 application to Office 2007. Is there a | reference or sample COM Add-in that demonstrates how to integrate with the | Fluent UI using VB6? | | "Jim Rech" wrote: | | It looks like we've lost some functionality. Even the new ribbon commands | have the same non-result: | | CommandBars.ExecuteMso "ShapeFreeform" | | -- | Jim | "Jeff Abbott" wrote in message | ... | | In office 2007 my code I use to auto-execute command bar functions don't | work | | any longer for drawing shapes. Other items like New workbook work fine. | | | | For example, this line of code when executed in the immediate window of | | Excel VBA should draw a freeform shape: | | | | excel.CommandBars.FindControl(,200).Execute | | | | The cursor does indeed change to that used for drawing a freeform | (ID=200), | | and the freeform buttons on the Insert-Shapes ribbon are indeed depressed | | just as they are when you manually initiate drawing by clicking on the | button. | | | | Any ideas? Is the interface being deprecated? | | | | Any help would be greatly appreciated. | | | | Jeff | | | |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Change CommandBarButton state not working | Excel Programming | |||
Drawing Shapes on Forms | Excel Programming | |||
When drawing shapes in excel the shapes keep disappearing | Excel Discussion (Misc queries) | |||
Drawing shapes in a chart | Charts and Charting in Excel | |||
Method 'PasteFace' of objetc 'CommandBarButton' failed | Excel Programming |