2 Replies Latest reply on May 24, 2016 9:43 AM by Eddie Pellegrin

    Recorded Print Macro Prints Incorrectly

    Eddie Pellegrin

      I have recorded a macro simply printing the active document. The problem I'm having is that if the drawing has (for example, 4 sheets) it will print each sheet 4 times. This only seems to happen when using #TASK. Is it because #TASK runs the macro on each sheet? Or is something wrong with the way I am doing it? Any info would be greatly appreciated. Thanks in advance.



      Dim swApp As Object



      Dim Part As Object

      Dim boolstatus As Boolean

      Dim longstatus As Long, longwarnings As Long


      Sub main()


      Set swApp = _



      Set Part = swApp.ActiveDoc


      End Sub