none
MS Project Opened from Internet Explorer RRS feed

  • Question

  • I would like to have some VBA code execute only when the .mpp file is opened from Internet Explorer.  Does anyone know how I can differentiate between opening a .mpp file from Internet Explorer vs. just opening it from my desktop?
    Wellyn
    Tuesday, July 26, 2011 2:47 PM

All replies

  • I think you will need to set a flag in the registry for this. VBA has SaveSetting and GetSetting methods for this.

    Rod Gill

    The one and only Project VBA Book Rod Gill Project Management
    Tuesday, July 26, 2011 9:27 PM
    Moderator
  • once it is clicked from the internet explorere, set the value in the database with that user and create some key and validate the same in the vba macro and run the code...

    • Create the Key (REsourceUID + someText) 
    • Store the Same, on click from the web in the DB
    • Validate on the open of the project using MSP Eventhandler and validate

    Thanks, Parth
    Thursday, July 28, 2011 4:37 AM