Excel Hints

Results 1 to 4 of 4

Thread: Solved: can't add commend to customUI file

  1. #1

    Solved: can't add commend to customUI file

    In a VBA macro one can add commends to describe the function of e.g. a sub routine. See example below.

    VB:
     
    Sub example() 
         
         'the below loop does ...
         
        For i = 1 To 10 
             
             'imagine here your script
             
        Next i 
         
    End Sub 
    
    
    Formatting tags added by mark007
    Is it possible to add similar commends to a custom UI file?

  2. #2
    You can add comments to the CustomUI XML

    VB:
    [SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]<!--[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#008000][SIZE=2][COLOR=#008000] Add Custom group To the Home tab In the ribbon [/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]--> 
    [/COLOR][/SIZE][/COLOR][/SIZE] 
    
    
    Formatting tags added by mark007
    Is that what you meant?

    Paul

  3. #3
    thanks Paul. That is exactly what I was looking for.

  4. #4

Posting Permissions

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