[quote user="hfg_thierry"]
Fence placed
Form pops up again and runs the check again
How to activate the form again when done?
[/quote]
When you start the place fence command, create a VBA class that Implements IEnterIdleEvent. When that command finishes, MicroStation enters the idle state. Your class can then pop your UserForm. Once that's done, your IEnterIdleEvent class should unregister itself, otherwise it will be triggered continually each time MicroStation enters the idle state.