+ Reply to Thread
Results 1 to 3 of 3

Custom ribbon buttons don't export correctly

  1. #1
    Registered User
    Join Date
    08-27-2013
    Location
    santa cruz, california
    MS-Off Ver
    Excel 2010
    Posts
    10

    Custom ribbon buttons don't export correctly

    I've set up a number of macros and then then set up a custom ribbon with a button for each of the macros. The macros were stored to "this workbook." I export the customizations and sent the file to another computer. Then I imported the customizations. When I click on any of the buttons on the custom ribbon I get an error message "can't open <path name>. Macros may not be enabled or macro may not be contained in this workbook." . However, if I go into the macro button on the developer ribbon the same macro is present. If I run it from there then everything works. Problem is that the button on the custom ribbon has the original pathname rather than simple looking locally to the file.

    Is there any way to tell the button to look locally to the file for the macro?

    Or do I need to put everything into a personal macro workbook and somehow export this?

    thanks

    dave j

  2. #2
    Registered User
    Join Date
    11-14-2010
    Location
    Macau
    MS-Off Ver
    Excel 2003
    Posts
    66

    Re: Custom ribbon buttons don't export correctly

    Hi Dave J,
    Yes! I put the macro for costomer's ribbon in Addin.
    for me, I use one icon to multi macro for different workbooks as you need. e.g.
    Please Login or Register  to view this content.
    Lotuxel

  3. #3
    Registered User
    Join Date
    08-27-2013
    Location
    santa cruz, california
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Custom ribbon buttons don't export correctly

    Thank you. I'm not a VB programmer so I don't completely understand this but it seems that it might address my issue. I'll work with a friend over the next couple of days to try to implement this

    thanks again

    davej

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Export a customized ribbon automatically???
    By ahigh17 in forum Excel General
    Replies: 3
    Last Post: 08-24-2013, 05:33 AM
  2. [SOLVED] Disable buttons in custom ribbon before opening a vbModeless UserForm
    By heapifyman in forum Excel Programming / VBA / Macros
    Replies: 32
    Last Post: 01-14-2013, 12:38 PM
  3. Mix up of buttons in Excel Add-In ribbon - how to delete buttons?
    By lausianne in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-11-2013, 08:51 AM
  4. Customizing ribbon with buttons for macros
    By DrNerj in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-15-2012, 09:28 AM
  5. How to add buttons to a ribbon - EXCEL 2007
    By avveerkar in forum Excel General
    Replies: 7
    Last Post: 02-16-2011, 03:54 PM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1