Here we will provide VBA help in the form of Examples, Code Snippets, and some useful Applications & Macros

Most of the applications and macros listed here can be downloaded in our BUGVA_Collection.


Need to sort an array of strings, here’s a couple of working examples we have found.

Code Snippets.mvba This mvba is just a collection of many different snippets of VBA code, it does not run as is, it is just a storage place.


ViewLevels.mvba This little app allows you to cycle through all the levels in the active file to see only what is on each level.


CopyAboutCntline.mvba this application allows you to copy a centreline both sides with one click to different levels and/or different dimensions each side.

CreateLegends.mvba Want an easy way to create a legend from levels or cells within your files, then try this application.

ImportPoints_CE is an open source mVBA applet which runs in MicroStation CONNECT Edition. The applet enables users to import location data from text files of various formats. Imported points and accompanying fields are transferred to the dgn file with user-specified data mappings and graphics.  See documentation for installation details.

Import Points CE mVBA video can be seen here