Learning MicroStation VBA

Chapter 3: The VBA IDE

Overview

Open the VBA IDE PDQ!!! Yes, the IDE is WYSIWYG. GM?

Translation: Open the Visual Basic for Applications Integrated Development Environment Pretty Darn Quick!!! Yes, the Integrated Development Environment is "What You See Is What You Get". Got Milk?

Menus

Nearly all Microsoft Windows applications utilize Menus to issue commands. Many menu items have shortcuts. For example, holding down the key and pressing the

key does the same thing as selecting File > Print from the menu. Whether you click your mouse or use the associated shortcuts, it is helpful to know what a menu item does. Let's look at the menu items that are available in VBA.

File Menu

  • Import File imports existing form (.frm), module (.bas), and class (.cls) files into our project.

  • Export File exports forms, modules, and classes from our project to their own .frm, .bas, and .cls files. After these files have been exported, they can be imported into another project.

  • Remove removes forms, modules, and classes from our project. When we attempt to remove an element from our project we are asked if we want to export it (save it) first.

  • Print allows us to print code and/or forms.

  • Close and Return to MicroStation hides the VBA environment and gives MicroStation focus.

Edit Menu

  • Undo and Redo are standard Windows menu items.

  • Cut, Copy, and Paste perform standard Windows Clipboard...

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: Video and Audio Software
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.