Results 1 to 3 of 3
  1. #1
    3 Star Lounger
    Join Date
    Nov 2002
    Posts
    387
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Use of menu item ID in foreign language versions (2000 - 2003)

    On a foreign language version of Word like french the following code line fails since File, Send To, etc does not exist on a French version.
    ThisDocument.CommandBars("File").Controls("Send To").Controls("Mail Recipient").Enabled = False

    I tried using the ID for those menu items but this produces another error. I am assuming I do not know how to correctly use those menu IDs for accessing menu and tool bar items so as to enable and disable.
    ThisDocument.CommandBars(Id:=30002).Controls(Id:=3 0095).Controls(Id:=3738).Enabled = False

  2. #2
    3 Star Lounger
    Join Date
    Nov 2002
    Posts
    387
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Use of menu item ID in foreign language versions (2000 - 2003)

    I think I know how to do this and will re-post or in a few minutes.

  3. #3
    3 Star Lounger
    Join Date
    Nov 2002
    Posts
    387
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Use of menu item ID in foreign language versions (2000 - 2003)

    Ok I am slow but I figured it out

    ThisDocument.CommandBars.FindControl(Id:=30002).En abled = False Actually Hans answered a similar question I had posted on this subject but I am slow about connecting things as well as having a bad memory Thank you again Hans!!

Posting Permissions

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