Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. COM
  4. Is there any way to control menus (e.g File--> Save) in Office 2007 documents?

Is there any way to control menus (e.g File--> Save) in Office 2007 documents?

Scheduled Pinned Locked Moved COM
question
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SNI
    wrote on last edited by
    #1

    Hi, I would like to get control on menus of Office 2007 but I am not able to find out what type of interface is used to control this. Is there any way to get the control on these. THanks

    SNI

    F 1 Reply Last reply
    0
    • S SNI

      Hi, I would like to get control on menus of Office 2007 but I am not able to find out what type of interface is used to control this. Is there any way to get the control on these. THanks

      SNI

      F Offline
      F Offline
      frx96
      wrote on last edited by
      #2

      1.Word eg: you can rewrite the sub of "save" in VBA template file: Sub FileSave() 'ActiveDocument.Save End Sub 2.word eg: set enble property: activedocument.CommandBars("File").Controls(5).Enabled = False 'office2003

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups