Display Predecessor and Successor Tasks

Discussion in 'Project' started by Thomas Schuber, Sep 2, 2014.

  1. Thomas Schuber

    Thomas Schuber

    Joined:
    Sep 2, 2014
    Messages:
    1
    Likes Received:
    0
    Hi All,

    I used a VBA Macro from Rod Gill to display predecessors and successor tasks for a selected task.
    The macro runs fine if I use it only for single project files.
    It shows the pre- and successor tasks, and the task itself will be selected (highlighted).
    But when I want to display the pre- and successor tasks within a subproject file that is included in a master project file, it does no longer work as expected. The pre- and successor tasks are shown, but the task itself is not selected.
    The two very last VBA statements in the main function are:

    EditGoTo Tsk.ID
    SelectRow


    With EditGoTo Tsk.ID and SelectRow, the task for which I want to see the pre- and successors are selected (highlighted).
    EditGoTo Tsk.ID seems to fail if the task is located in a subproject included in a master project.
    I tried EditGoTo Tsk.UniqueID instead, but this also fails.

    Any idea how to fix this?

    Thanks,
    Thomas
     

    Attached Files:

    Thomas Schuber, Sep 2, 2014
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Paolo

    Tasks calendars

    Paolo, Apr 23, 2009, in forum: Project
    Replies:
    0
    Views:
    583
    Paolo
    Apr 23, 2009
  2. Paolo

    Tasks calendars

    Paolo, Apr 28, 2009, in forum: Project
    Replies:
    0
    Views:
    194
    Paolo
    Apr 28, 2009
  3. carol
    Replies:
    0
    Views:
    403
    carol
    Apr 20, 2011
  4. JLCabrera

    Viewing Tasks Notes from PWA

    JLCabrera, Oct 27, 2011, in forum: Project
    Replies:
    0
    Views:
    403
    JLCabrera
    Oct 27, 2011
  5. Lori
    Replies:
    0
    Views:
    347
  6. Catopia
    Replies:
    0
    Views:
    605
    Catopia
    Jul 9, 2013
  7. amithrt
    Replies:
    0
    Views:
    397
    amithrt
    Nov 2, 2013
  8. Aparna
    Replies:
    0
    Views:
    426
    Aparna
    Jun 23, 2015
Loading...