Declaring Utility Objects with Dim
It is possible to declare variables of the ModelUtil, ComsolUtil, and RibbonUtil types using Dim by entering the commands below:
Dim ModelUtil As ComsolCom.ModelUtil
Dim ComsolUtil As ComsolCom.ComsolUtil
Dim RibbonUtil As IRibbonUtil
Once these are declared automatic completion is accessible as shown below:
You also get indication how to use the method: