title: VBA UserForm running twice when changing .Caption
body: <p>I'm running a VBA macro from SolidWorks. The form doubles as an input for two types of document. In the <code>UserForm.Initialize</code> subroutine I'm changing the name of the UserForm's <code>Caption</code> depending on which document type is open. Whenever I do this though, the program reruns <code>UserForm.Initialize</code>, and when it's all done, it carries on from where it left of, effectively running twice. </p>
  
  <p>Does anyone know a way around this bizarre behaviour? I tried putting the <em><code>FormName</code></em><code>.Caption</code> command into  its own Sub but the result is the same. </p>
  
  <p>Many thanks.</p>