Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
OnLoad="OnLoad"
XML is case sensitive. So this must be: onLoad="OnLoad" -- Jim wrote in message ... |I have been trying to use OnLoad in an existing application without | success. Could someone take a look at this code and tell me what I am | doing incorrectly? | | This code works: | <?xml version="1.0" encoding="UTF-8" standalone="yes"? | <customUI onLoad="OnLoad" xmlns="http://schemas.microsoft.com/office/ | 2006/01/customui" | | <!-- Add Custom group to the Home tab in the ribbon-- | <!-- The example add a dynamic menu control-- | | <ribbon | <tabs | <tab idMso="TabHome" | <group id="customGroup1" label="My Menu" | insertBeforeMso="GroupEditing" | | | </group | </tab | | </tabs | </ribbon | </customUI | | This code which I am trying to use generates an error: | <?xml version="1.0" encoding="UTF-8" standalone="yes"? | <customUI OnLoad="OnLoad" xmlns="http://schemas.microsoft.com/office/ | 2006/01/customui" | | <!-- Add Custom group to the Home tab in the ribbon-- | <!-- The example add a dynamic menu control-- | | <ribbon | <tabs | <tab id="TabMyTools" label="MyTools" insertAfterMso="TabView" | | </tab | </tabs | </ribbon | </customUI | | The error indicates that OnLoad is not defined in the DTD/Schema. | Both workbooks have only a simple OnLoad sub in them. | | Thanks for your help. | bob |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Ribbonx - how to create two ribbons? | Excel Programming | |||
About Officemenu(RibbonX) | Excel Programming | |||
Extend Excel C API add-in for using RibbonX API | Excel Programming | |||
Is there an onload event in Excel? | Excel Programming | |||
Is there any onLoad kind of function for Excel | Excel Programming |