![]() |
#1
|
|||
|
|||
![]()
Hi all.
I have an integrated schedule - Master Schedule with 8 Subprojects that. I have a macro in MS Project that copies a custom Task field to a custom Resource Field (Text 2 from Task to Resource field). My issue is that the code is only working for the master schedule tasks, they're not working for tasks that are in "Sub Projects". I need the macro to copy the same fields for all the tasks in the integrated schedule including the "Sub Project" tasks. Keeps on prompting me with "Run-time error 1001" Ps help... thank you. |
#2
|
|||
|
|||
![]()
I think you need to add the following VBA code to your macro to account for each subproject in the master project:
Dim SubProj As Subproject For Each SubProj In ActiveProject.Subprojects Next SubProj Give it a try and let us know if it helps. |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Summary Tasks / Custom Field Formula not working | Jere_RV90 | Project | 1 | 10-13-2023 05:47 AM |
Custom Style Sets Stopped Working on Custom Template after Recent Microsoft Update | CynthiaKPollard | Word | 6 | 12-20-2021 08:37 PM |
Auto-update field codes in Outlook Template - AutoOpen Macro not working | victoriasun | Outlook | 5 | 12-22-2015 01:54 AM |
![]() |
abw1987 | Project | 3 | 10-05-2011 07:17 AM |
Master Projects with different Working Days | Philip.Skeet | Project | 2 | 08-19-2011 09:45 AM |