Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

How to unload all userforms when opening a new file?

$
0
0

We have got the following issue:


In our environment (Bentley Speedikon Architecture & Microstation) are several VBA-programs available. Most of them have got a kind of main Userform which is used to trigger different tasks like shown below:



Now, when such a Userform is loaded and you decide to open another file without closing the application (ie. click on "file" --> "open" ...) ...



... then it can happen that some details from the previously opened file are still cached and the different VBA-programs would not work as they should.


Is there a way to force all userforms to unload when the operator opens a new file?



Viewing all articles
Browse latest Browse all 7260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>