VBA UserForm running twice when changing .Caption
===

I'm running a VBA macro from SolidWorks. The form doubles as an input for two types of document. In the `UserForm.Initialize` subroutine I'm changing the name of the UserForm's `Caption` depending on which document type is open. Whenever I do this though, the program reruns `UserForm.Initialize`, and when it's all done, it carries on from where it left of, effectively running twice. 

Does anyone know a way around this bizarre behaviour? I tried putting the _`FormName`_`.Caption` command into  its own Sub but the result is the same. 

Many thanks.