API VBA: Run macro @ startup

Discussion in 'SolidWorks' started by Corey Scheich, Aug 28, 2003.

  1. In VBA under SolidWorks Objects/ThisLibrary you can add the event

    Private Sub Workspace_Startup()
    MsgBox "You Started Solidworks"
    End Sub

    The question is how do you get the macro to be read at Startup so that the
    code would be run. I figured out a way to have a macro wait for events in
    the background, just can't figure out how to have it start while SW is
    loading. I know you could do this with a .DLL but is there a way without
    one.

    Thanks,
    Corey Scheich
     
    Corey Scheich, Aug 28, 2003
    #1
  2. That works swell!!!
     
    Corey Scheich, Aug 28, 2003
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.