Results 1 to 7 of 7
  1. #1
    5 Star Lounger
    Join Date
    Mar 2001
    Location
    New York, NY
    Posts
    922
    Thanks
    2
    Thanked 12 Times in 11 Posts

    Toolbars Bars Share Row (Word 2000)

    What command would I use to have VBA set Standard & Formatting Toolbars Share One Row = FALSE ???

    I recall that this can be done, and that the command is rather obscure, but my memory is failing me....

    Thanks,
    Richard Barrett

  2. #2
    Silver Lounger
    Join Date
    Jun 2001
    Location
    Morden, Surrey, United Kingdom
    Posts
    1,838
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Re: Toolbars Bars Share Row (Word 2000)

    I only have Word97, and if there is a command to do it I couldn't find it, but I found that this bit of code will always put any two toolbars (where one is the formatting one, of course) on two separate lines, although not necessarily lined up to the left:

    If CommandBars("formatting").RowIndex = 1 Then
    CommandBars("formatting").RowIndex = 2
    Else
    CommandBars("formatting").RowIndex = 1
    End If

    Not exactly what you wanted, I know but may be it will help (assuming that VBA in W2k is similar to W97!).

    It might point you in the right direction, at least ... <img src=/S/smile.gif border=0 alt=smile width=15 height=15>
    Beryl M


  3. #3
    5 Star Lounger
    Join Date
    Mar 2001
    Location
    New York, NY
    Posts
    922
    Thanks
    2
    Thanked 12 Times in 11 Posts

    Re: Toolbars Bars Share Row (Word 2000)

    In Word 2000, there are several options to "personalize" toolbars. One is to have the most recently used items at the top of menus. The other is to have the Standard and Formatting toolbars share the same row.

    Since these are specific options, I was wonder if there was a specific VBA command to control them.

    Perhaps someone else will know something about this in Word 2000.

    Richard

  4. #4
    5 Star Lounger
    Join Date
    Mar 2001
    Location
    New York, NY
    Posts
    922
    Thanks
    2
    Thanked 12 Times in 11 Posts

    Re: Toolbars Bars Share Row (Word 2000)

    Actually I now see that your suggestion does work.... and it turns off that check mark. Perhaps there is a command that is more specific to the feature though.

    If I record a macro to set any of the Options for Toolbars, the macro is blank. That doesn't happen too often.

    Thanks,
    Richard

  5. #5
    Silver Lounger
    Join Date
    Jun 2001
    Location
    Morden, Surrey, United Kingdom
    Posts
    1,838
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Re: Toolbars Bars Share Row (Word 2000)

    You could try typing the beginning of the command (ie 'commandbars.') in the vba screen, and when you type the dot at the end of 'commandbars' there should be a list come up of all the options available to go with that command - you could perhaps spot the one you want that way? Also, by placing the cursor in a word, eg commandbars, and pressing F1 you can get help on that word which might help you find the specific command.

    It always pays to fiddle around in VBA, I find ... <img src=/S/grin.gif border=0 alt=grin width=15 height=15>
    Beryl M


  6. #6
    kberk
    Guest

    Re: Toolbars Bars Share Row (Word 2000)

    I have a similar question.

    I am working on system policy settings for an NT network that is about to deploy Office 2000 SR1 via an administrative installation point. Microsoft's System Policy files seem to omit one really annoying "Feature" in office 2000. The annoying "Standard & Formatting Toolbars Share the Same Row" setting.

    Does anybody know what the registry key is that will change this setting. I can write an adm template for the NT 4 System policy editor if I can just find the key and the on and off values.

    Thanks

  7. #7
    5 Star Lounger
    Join Date
    Mar 2001
    Location
    New York, NY
    Posts
    922
    Thanks
    2
    Thanked 12 Times in 11 Posts

    Re: Toolbars Bars Share Row (Word 2000)

    I never did find the related registry key for this (which was why I was looking for the macro code)... but here is the macro code I used in case it's helpful to you.

    i = CommandBars("Standard").RowIndex
    CommandBars("Formatting").RowIndex = i + 1
    CommandBars("Formatting").Left = CommandBars("Standard").Left

    This places the formatting toolbar under the standard toolbar with the two left-aligned. It doesn't disturb the placement of other toolbars which the user may have set. This code causes the check box "Standard and Formatting Toolbars share the same row" to be de-selected. (Thanks to Beryl for the hint.)

Posting Permissions

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