Forum Discussion

Gilgamesh1964's avatar
Gilgamesh1964
Brass Contributor
Jun 09, 2021
Solved

Hammock Tasks and VBA

Hello, I have two questions about Hammock Tasks and VBA.   Creating the Task I have recorded a macro and had a look at how it is set up, the macro records the actual Copy and Paste steps. Is the...
  • John-project's avatar
    John-project
    Jun 10, 2021

    Gilgamesh1964 

    First of all I should note that Paste Links are prone to corruption. They use dated DDE protocol for OLE links that I found to be "shakey" under older versions of Project and as I noted, doesn't appear to work correctly under Windows 10 (at least for me), although it may work under Windows 10 if applications are set to run as admin.

     

    Using Application.ObjectLinks will open the Edit Links window and that will show all the OLE links in the current file. Unfortunately the link data presented is not very useful (i.e. only gives the project name and a link number). The "source" task can be identified by selecting a link and using the Open Source button but there is no "destination" info that identifies which task is the destination. You might be interested in reading this Wiki article:

    https://social.technet.microsoft.com/wiki/contents/articles/32040.ms-project-hammock-tasks.aspx 

     

    John

Resources