autorun run external macro

How is it possible to run a macro in  another .mvba from the Autorun

I have added some commands: in the Autorun

CadInputQueue.SendCommand "View Off All" 'Turn off all views
CadInputQueue.SendCommand "View On 1" 'Turn View 1 on
CadInputQueue.SendCommand "Window Tile" 'Resize View 1 to fit screen
CadInputQueue.SendCommand "Fit All" 'Start Fit All command
CadInputQueue.SendCommand "Selview 1" 'Apply to View 1

These all work, what I wanted to add was a Macro from Name.mvba and I know it is Module6.SetDefaults        

I can run the macro from the key-in command vba run SetDefaults and it works fine, but I was hoping to add it to the autorun

and eliminate extra commands

Parents Reply
  • Jon It is working I noticed the computer was referring to my RJBP.MVBA  as default when I sent the last picture

    went back and change [name] to [default] it came up with DGNSET loaded checked the settings>Design File Settings

    and they were all done, so appreciate so much for the assistance. Email me sometime, I put up a question on you business page

    trying to get a price on something. My email (this would not be a company purchase) I will have to personally pay you

    any way  I hope this is not a violation just asking someone to contact you? If it is very sorry.

    Version: MicroStation V8i SS 10

    RJB Phillips III (Richard) Praise the Lord for His Mercy and grace in Christ Jesus

No Data