PDA

View Full Version : Manipulate the Ribbon from VBA directly



tken22
11-29-2009, 09:43 AM
Hello,

I have a add-in tool i've created for office 2000-2003. The tool executes fine in 2007 but it doesn't look nice like the other ribbons. Is there a way to execute the XML code required to create a ribbon in 07+ inside a vba macro. Like the code below:


Private Sub Workbook_Open()

If Application.Version > 11 Then
'Execute new ribbon code
Else
'Execute old menu code
End If

End Sub

Any help is greatly appreciated, this is the 3rd VBA forums I'm posting too and really need to solve this issue. The add-in is available, just google nowexceladdin and it should come up.

Thanks for any help!

lucas
11-29-2009, 11:01 AM
Please read this (http://www.excelguru.ca/node/7) and post a link to your posts on this question in other forums.

lucas
11-29-2009, 11:08 AM
Cross posted here (http://www.xtremevbtalk.com/showthread.php?t=312198)

User did not have enough posts to post a link as yet.

Bob Phillips
11-29-2009, 12:41 PM
But the answer is the same as I gave there.