From: Terry Farrell on 3 Jan 2010 05:11 Your computer calendar seems to be up the creek so that you are posting a day in advance - even NZ hasn't started 4 January at this time. -- Terry Farrell - MSWord MVP "Me" <a(a)b.com> wrote in message news:OQ2oIDEjKHA.1536(a)TK2MSFTNGP06.phx.gbl... > Hi Graham, thanks for your help. > > I tried to run the Macro that you specify on the website, but I get this > error message: > > > Run-time error '6068': > > Programmatic assess to Visual Basic Project is not trusted. > > > > Then when I click Debug it shows the following: > > > Sub MFC_sort() > ' > ' MFC_sort Macro > ' Macro recorded 12/31/2009 by Mike the Kiwi > ' > Sub CloseDesignWindows() > Dim K As Long > With ActiveDocument.VBProject <<== WITH THIS LINE > HIGHLIGHTED IN YELLOW > For K = 1 To .VBComponents.Count > With .VBComponents(K) > If .HasOpenDesigner Then .DesignerWindow.Close > End With > Next > End With > End Sub > Sub Macro1() > ' > ' Macro1 Macro > ' Macro recorded 1/3/2010 by Mike the Kiwi > ' > End Sub > > > > > > > "Graham Mayor" <gmayor(a)REMOVETHISmvps.org> wrote in message > news:uo$Tqw4iKHA.5596(a)TK2MSFTNGP06.phx.gbl... >> Which toolbars? My guess is the Control Toolbox and the associated Design >> Mode toolbar? See >> http://word.tips.net/Pages/T001596_Suppressing_the_Control_Toolbox_Toolbar.html >> >> -- >> <>>< ><<> ><<> <>>< ><<> <>>< <>><<> >> Graham Mayor - Word MVP >> >> My web site www.gmayor.com >> Word MVP web site http://word.mvps.org >> <>>< ><<> ><<> <>>< ><<> <>>< <>><<> >> >> >> >> "Me" <a(a)b.com> wrote in message >> news:OcLcKo4iKHA.1824(a)TK2MSFTNGP04.phx.gbl... >>> Hi all, >>> >>> I'm using MS Office 2003 on an XP OS. Whenever I start Word by double >>> clicking the shortcut to a document that I have previously >>> saved to the HDD, I find that two unwanted toolbars appear in the middle >>> of the open window. Toolbars that I have never used. >>> Nothing I do seems to stop them from appearing each and every time I >>> open this document. What's up with that? Hope someone can >>> give me some good advice that will eliminate them permanently. >>> >>> All assistance is greatly appreciated, >>> >>> Cheers >>> Buck >>> >> >> > > |