Article ID: 242585 - Last Review: June 18, 2005 - Revision: 2.0 FP2000: How to Assign a Macro to a Toolbar ButtonThis article was previously published under Q242585 SUMMARY
In FrontPage 2000, you can create a button, assign a Visual Basic for Applications macro to the button, and place the button on the toolbar. This article explains how this is done.
MORE INFORMATIONMicrosoft 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. Create the MacroIf you do not have a macro, you can use the following sample Visual Basic for Applications macro that displays the text "This is a test" in a dialog box when the macro is run.Create a New ToolbarYou can create a new toolbar to contain all of your custom macros. To do this, follow these steps:
Create the Button for the Macro
REFERENCES
For more information about how to use the sample code in this article, click
the article number below to view the article in the Microsoft Knowledge
Base:
212536
(http://support.microsoft.com/kb/212536/EN-US/
)
OFF2000: How to Run Sample Code from Knowledge Base Articles
| Article Translations
|
Back to the top
