AronGahagan / cpt-dev

Code repository for the ClearPlan Toolbar
https://www.ClearPlanConsulting.com
3 stars 1 forks source link

cptAdjustment - fails when no resources of type 'Work' on selected task(s) #328

Closed AronGahagan closed 1 year ago

AronGahagan commented 1 year ago

Problem:

ETC Adjustment feature errors out when there are no Labor (Resource.Type = pjResourceTypeWork) resources on the selected task(s).

Solution:

  If Len(strResources) = 0 Then
    MsgBox "No Labor [Resource Type=Work] resources found.", vbExclamation + vbOKOnly, "Adjustments"
    GoTo exit_here
  End If

Todo: