Results 1 to 3 of 3

Thread: Remove a custom group/button from the ribbon

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    Thanks so much for taking the time Andy. I’ll give it a go and let you know how I get on.

    Mike

    Quote Originally Posted by Andy Pope View Post
    I don't have Project in order to test but I think the issue is a missing space in the string you generate.
    You need to seperate customUIxml from the start of the schema namespace,
    mso:customUIxml ns:mso

    Sub RemoveCustomUI()     
        Dim customUiXml As String      
        customUiXml = "<mso:customUIxml ns:mso=""http://schemas.microsoft.com/office/2009/07/customui"">" _        
        & "<mso:ribbon></mso:ribbon></mso:customUI>"      
        ActiveProject.SetCustomUI (customUiXml) 
    End Sub
    Last edited by Aussiebear; 05-03-2025 at 01:39 PM.

Tags for this Thread

Posting Permissions

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