< All Topics

Microstation VBA script not loading on startup

Problem

When installing the MicroStation add-in, adding the VBA script does not load on start up after selecting load on start up.

Solution

One option is to reset the user preferences and re-do the installation/configuration. Follow the link for resetting user preferences here:

To re-create a new clean user preferences file (reset to factory defaults):

1. Open MicroStation with any file and open MicroStation’s Key-in panel (Utilities->Key-In)

2. Type the following string in MicroStation’s key-in panel and press enter:

  $ % explorer $(_USTN_HOMEPREFS)

    This will open your user preferences folder within Windows File Explorer located at:
C:\Users\<username>\AppData\Local\Bentley\MicroStation\##.0.0\prefs

3. Close MicroStation but keep the windows explorer window open.

4. MOVE (not just copy) the whole content of this folder – including all subfolders – into some other safe folder for backup. Make sure you save these files for backup. They contain any custom user preferences set in MicroStation.

5. Restart MicroStation and check if the issue still occurs.

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to Top