Microsoft KB Archive/182582

From BetaArchive Wiki
Knowledge Base


WD98: How to Hide the Full Screen Toolbar Using VB Code

Article ID: 182582

Article Last Modified on 6/17/2005



APPLIES TO

  • Microsoft Word 98 for Macintosh



This article was previously published under Q182582


SUMMARY

The Word 98 Macintosh Edition user interface does not provide a way to disable the Full Screen toolbar. This functionality is different from earlier versions of Word. This article describes a sample Visual Basic for Applications macro that hides the Full Screen toolbar.

MORE INFORMATION

Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements.

   Sub HideFullScrToolBar()
       ' Using the CommandBars collection, identify the toolbar
       ' you want to hide. Set Visible to equal false in order
       ' to hide it.
       CommandBars("full screen").Visible = False
   End Sub
                

For information about how to redisplay the Full Screen toolbar, please see the following article in the Microsoft Knowledge Base:

182350 WD98: Full Screen View Toolbar Is Hidden


For additional information, please see the following article in the Microsoft Knowledge Base:

181058 OFF98: How to Run Sample Code from Knowledge Base Articles


REFERENCES

For more information about getting help with Visual Basic for Applications, please see the following article in the Microsoft Knowledge Base:

163435 VBA: Programming Resources for Visual Basic for Applications



Additional query words: wordcon vb vba vbe show hide toolbars display view

Keywords: kbhowto kbmacroexample kbprogramming kbdtacode kbcode KB182582