locked
project professional 2010: macro to save project as pdf file RRS feed

  • Question

  • Hi,

    I need to create a macro in project professional 2010 that saves a pdf file of the project plan (if this option is not available, we can print the project as pdf) upon setting a baseline. So I need to trigger macro when a baseline is set and as stated I need this macro to save a pdf file of the project plan. Is this possible? Any guidance or code is appreciated.

    Thanks,
    George 

    Friday, April 29, 2011 8:36 AM

Answers

All replies

  • There isn't an event triggered by saving a baseline so you will need a way to record the fact you have printed a pdf and test on the before save event.

    Rod Gill

    The one and only Project VBA Book Rod Gill Project Management
    • Marked as answer by geo_d Friday, April 29, 2011 11:31 AM
    Friday, April 29, 2011 10:20 AM
  • Hi,

    and how to insert a macro to print out the plan in pdf using PDFCreator and how to set filename and path?

     

    I try to record a macro but the only code i found is:

    Sub Macro3()
    ' Macro Macro3
    ' Macro Recorded 10/06/11 09:17 by Palmitesta Daniele.
        FilePrint Copies:=1
    End Sub

    Thanks

    Friday, June 10, 2011 7:18 AM