VBA Applications/Macros Downloads

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.

Examples for the VBA programmer

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.

Applications/macros

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.

AllUsedLevelNamesToExcel.mvba Need a list of all the levels used in a number of files or a whole project for Remapping or some other reason, this little gem does it in seconds.

Applications/macros

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. Updated 12/5/2021

ImportPoints_CE.mvba
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 has been updated to V2.0 update information can be seen here.

https://communities.bentley.com/products/programming/microstation_programming/b/weblog/posts/import-points-ce-2-0-released-to-the-microstation-community