Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
  • Welcome
  • Products
  • Support
  • About
  • More
  • Cancel
MicroStation Programming
  • Product Communities
  • Developers and Programming
  • MicroStation Programming
  • More
  • Cancel
MicroStation Programming
MicroStation Programming - Wiki Documentation
    • Sign in
    • MicroStation Programming - Wiki
    • -MicroStation CONNECT Edition
      • +MicroStation SDK
      • +MicroStation MDL
      • -MicroStation VBA
        • +MVBA FAQ
        • -MVBA Topics
          • CRUD example
          • Debugging
          • Documentation
          • Migration from VBA 6.x to 7.x
          • +MVBA Transforms
          • Network Shared Projects
          • Object model
          • Simple example with object library
          • Simple example with recording code
          • VBA Editor
          • VBA Integration with Applications
      • +Training
      • +Code Examples and Utilities
      • +Code Snippets
    • +MicroStation V8

     
     Questions about this article, topic, or product? Click here. 

    Documentation

    VBA Help

    The complete MicroStation COM Object model is described in the MicroStation VBA help system. There are several methods to retrieve this help system:

    From MicroStation SDK command shell using the command vbahelp:

    From the Windows explorer file system. The file MicroStationVba.chm is installed with MicroStation and can be found in the same folder where microstation.exe is installed.

    From the VBA Editor the context sensitive help provides linkages between the MicroStation VBA keywords and the MicroStation VBA help file.

    E.g. the open VBA Editor the cursor is positioned on a MicroStation keyword, like done here with ActiveModelReference:

     

    The F1 context sensitive help open the MicroStatioNVBA.chm and jumps to the help for this keyword, like this:

    The blue link “Example” additionally provides VBA code examples to demonstrate how to use the command:

    In this example this dialog opens and provides a list of code examples:

    The first selected example provides a complete code example:

     

    With the MicroStation MetroStation Workset example a set of VBA projects are installed to cover themes not all covered with the help system:

    It is also recommended to review our Communities: https://communities.bentley.com/

    For VBA code snippets, examples and best practices.

    • VBA Programming
    • VBA Documentation
    • Share
    • History
    • More
    • Cancel
    • Artur Goldsweer Created by Bentley Colleague Artur Goldsweer
    • When: Fri, May 22 2020 6:40 AM
    • Revisions: 1
    • Comments: 0
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2021 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies