Consulting

Results 1 to 9 of 9

Thread: What kind of dimension is a ribbon?

Threaded View

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

    What kind of dimension is a ribbon?

    Hi there,

    a few weeks ago Paul taught me how to make my tab the active one (thank you!), using:

    Sub OnRibbonLoad(ribbon As IRibbonUI)
        Set oRibbon = ribbon
        oRibbon.ActivateTab ("MyTab")
         
    End Sub
    This used to work fine, as long as I didn't use Option Explicit. Now debugging asks what kind of variable "oRibbon" is. Can anyone help me? Thanks in advance!

    RG

    btw: I use 2010.
    Last edited by RandomGerman; 08-13-2015 at 07:56 AM. Reason: Added Information

Posting Permissions

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