+ Reply to Thread
Results 1 to 3 of 3

RibbonX Visibility, combined macros

  1. #1
    Valued Forum Contributor
    Join Date
    04-24-2014
    Location
    United States
    MS-Off Ver
    Office 365 ProPlus
    Posts
    853

    RibbonX Visibility, combined macros

    I have a complex (I think) customized Department Menu system with RibbonX and various code that was designed separately for two different tasks that I am now working to try and combine. Both work fine separately, but I can't seem to get the two working together. The RibbonX and code all resides in the CustomUI of the Addin that loads when Excel starts.

    The first 'task' was in setting up the RibbonX and code that when a specific workbook is opened, that additional items in a Custom Tab would be shown. This works correctly using App_WorkbookActivate to refresh the ribbon when a specific workbook is used. That code to show the extra menu items looks like this:

    Please Login or Register  to view this content.
    Now, the second separate task was in having a button available on the Home tab where the user could choose a department menu system which loads a separate customized tab and menu for each department. This is also seems to work correctly with the below code. It will read a 0 or 1 from the Addin file for each department and then load its menu tab. (I got alot of help here with this part ) And I tried to add the above into the below, but I can't seem to get the workbook specific information to show up, which if/when correct will only add the extra menu items to 1 departments menu when a specific WP is open.

    Please Login or Register  to view this content.
    Last edited by ptmuldoon; 09-19-2017 at 04:51 PM.

  2. #2
    Registered User
    Join Date
    10-15-2013
    Location
    Hawaii
    MS-Off Ver
    Excel 2007
    Posts
    63

    Re: RibbonX Visibility, combined macros

    Would you be able to include the CustomUI code?

  3. #3
    Valued Forum Contributor
    Join Date
    04-24-2014
    Location
    United States
    MS-Off Ver
    Office 365 ProPlus
    Posts
    853

    Re: RibbonX Visibility, combined macros

    EDIT;

    Success!. I found I did need to edit/tweak the CustomUI for the one piece. Although the CustomUI was well formed, changing one section for its custom GetVisibility to GetVisibilityMYDEPT seemed to do the trick.
    Last edited by ptmuldoon; 09-20-2017 at 09:55 AM.

+ 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. Custom Ribbonx and Setting Visibility of Groups?
    By ptmuldoon in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-11-2016, 04:00 PM
  2. [SOLVED] Custom UI using Ribbonx
    By Beekster in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-06-2016, 06:25 AM
  3. can these 3 macros be combined into 1?
    By sschwant in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-15-2015, 12:23 PM
  4. RibbonX question
    By smugglersblues in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-06-2014, 06:29 AM
  5. MS Office RibbonX
    By KamilZet in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-28-2013, 09:25 AM
  6. [SOLVED] RibbonX Button
    By codeck in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-20-2012, 04:36 AM
  7. RibbonX - Is it possible to add help (F1) for a macro?
    By dschmitt in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-07-2010, 03:34 AM

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