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

    Home » Forums » AskWoody support » Productivity software by function » MS Word and word processing help » Use of menu item ID in foreign language versions (2000 – 2003)

    Author
    Topic
    #454198

    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:=30095).Controls(Id:=3738).Enabled = False

    Viewing 0 reply threads
    Author
    Replies
    • #1126825

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

      • #1126829

        Ok I am slow but I figured it out

        ThisDocument.CommandBars.FindControl(Id:=30002).Enabled = 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!!

    Viewing 0 reply threads
    Reply To: Use of menu item ID in foreign language versions (2000 – 2003)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: