Consulting

Results 1 to 7 of 7

Thread: 2010-built toolbar not appearing in 2007

  1. #1
    VBAX Contributor
    Joined
    Apr 2015
    Location
    Germany
    Posts
    167
    Location

    2010-built toolbar not appearing in 2007

    Hi all,

    I built an XML-toolbar in 2010 and filled it with a macro. It works in 2010 and in 2013, but it is not a appearing in PPT2007. It is in the correct folder, it is installed and loaded (it even is listed in the list of active add-ins), but it doesn't appear in the working mode finally.

    Is there any problem of backward compatibility? In the Custom UI Editor I chose both options for my ribbon, 2007 and 2010 - and I hoped that would do, but it doesn't.

    It would be great to read your ideas on this issue.

    Thanks,
    RG

  2. #2
    VBAX Master
    Joined
    Feb 2007
    Posts
    2,093
    Location
    You would need to post the XML to get an answer. There are several things that only work in 2010 onwards and XML is unforgiving and you MUST have a 2007 UI with the correct namespace. A tiny mistake means NOTHING shows normally. Did you verify the XML in the Editor for both 2007 and 2010?
    John Wilson
    Microsoft PowerPoint MVP
    Amazing Free PowerPoint Tutorials
    http://www.pptalchemy.co.uk/powerpoi...tutorials.html

  3. #3
    VBAX Sage
    Joined
    Apr 2007
    Location
    United States
    Posts
    8,711
    Location
    Also, did you put the XML in both the CustomUI and CustomUI14 sections when you did the Insert?

    Did you Validate?

    In general, unless you're using some special 2010 features you can get by with just the CustomUI section
    Attached Images Attached Images
    ---------------------------------------------------------------------------------------------------------------------

    Paul


    Remember: Tell us WHAT you want to do, not HOW you think you want to do it

    1. Use [CODE] ....[/CODE ] Tags for readability
    [CODE]PasteYourCodeHere[/CODE ] -- (or paste your code, select it, click [#] button)
    2. Upload an example
    Go Advanced / Attachments - Manage Attachments / Add Files / Select Files / Select the file(s) / Upload Files / Done
    3. Mark the thread as [Solved] when you have an answer
    Thread Tools (on the top right corner, above the first message)
    4. Read the Forum FAQ, especially the part about cross-posting in other forums
    http://www.vbaexpress.com/forum/faq...._new_faq_item3

  4. #4
    VBAX Contributor
    Joined
    Apr 2015
    Location
    Germany
    Posts
    167
    Location
    Hi John and Paul,

    this is awesome - without even knowing the details John pushed my thoughts in the right direction! Yes, I had inserted both sections, and my mistake was having the same first line in both sections. Of course it has to be

    .../office/2006/01/customui ... in the 2007-section, but it was 2009/07 in both. After reading John's post I found it and changed it. And now it works.

    I really appreciate, what both of you are doing here, John and Paul. Thanks a lot!

  5. #5
    VBAX Master
    Joined
    Feb 2007
    Posts
    2,093
    Location
    And as Paul said in most cases you do not need the 2010 section at all. The 2007 one will work in 2010 and 2013 unless you need any of the new features eg BackStage or context menus.
    John Wilson
    Microsoft PowerPoint MVP
    Amazing Free PowerPoint Tutorials
    http://www.pptalchemy.co.uk/powerpoi...tutorials.html

  6. #6
    VBAX Contributor
    Joined
    Apr 2015
    Location
    Germany
    Posts
    167
    Location
    Understood! Thank you!

  7. #7
    VBAX Sage
    Joined
    Apr 2007
    Location
    United States
    Posts
    8,711
    Location
    If you DO use CustomUI and CustomUI14, then you need to Validate both sections

    Select CustomUI and Validate (fixing any errors), and then

    Select CustomUI14 and Validate (fixing any errors)

    It can be misleading is one section is OK, but there are errors in the others (which is what I think your situation was)
    Attached Images Attached Images
    ---------------------------------------------------------------------------------------------------------------------

    Paul


    Remember: Tell us WHAT you want to do, not HOW you think you want to do it

    1. Use [CODE] ....[/CODE ] Tags for readability
    [CODE]PasteYourCodeHere[/CODE ] -- (or paste your code, select it, click [#] button)
    2. Upload an example
    Go Advanced / Attachments - Manage Attachments / Add Files / Select Files / Select the file(s) / Upload Files / Done
    3. Mark the thread as [Solved] when you have an answer
    Thread Tools (on the top right corner, above the first message)
    4. Read the Forum FAQ, especially the part about cross-posting in other forums
    http://www.vbaexpress.com/forum/faq...._new_faq_item3

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •