Prev: Preventing users from entering the header
Next: How to figure out if a key is pressed in a cell of a table or a cell of a table lost the focus
From: Norm on 9 Mar 2010 18:55 I am trying to hide or disable the ribbon and toolbars in Word 2007, within a VB6 program, but have been unable to get it to work. I am using early binding so that I can see the Word objects and methods, but have been unable to find a combination that will work on my files. Have tried Dim wrd As Word.Application Dim obar As Office.CommandBar For Each obar In wrd.CommandBars obar.Enabled = False obar.visible = False Next I assume there is something I am missing here. What would be the best way to do this? Thanks, Norm |