Sie sind auf Seite 1von 6

246639599.xls.

ms_office, Page 1, Directions


CritPath.XLS: Project Planning by the Critical Path Method
Excel 2003: Tools, Macro, Macros, CPM, Run
Excel 2007: View Tab, Macros, CPM, Run
The top row is for titles.
Column A must have activity names. A title for this column should appear at the top.

To do this requires that you have @RISK installed on your computer.


Replace the Activity times with @RISK Distribution Functions such as =RiskUniform(1,3).

Note: If the macro does not appear, or does not work, or if you get a message to the effect that "the
macros have been disabled" , you need to "Enable Macros". For instructions, click on the link below:
The @RISK simulation will then tell you the mean project completion time, along with a range of
completion times that happened in the simulation. You may also view a histogram.
@RISK will report the same statistics for the Slack values. The histogram for a slack will tell you what
percentage of the time a given activity had Slack=0, and hence was on the critical path.
COMPATIBILITY WITH @RISK: The CPM Macro puts formulas into the Excel Spreadsheet rather than
just numbers. Therefore, after running the macro, you may use @RISK to simulate uncertain activity times.
Indicate as Output any cells for which you want a report. I suggest the cells containing Earliest Project
Completion Time and all of the Slack values.
DIAGRAM: A Gantt Chart is produced, showing the activities starting at their Earliest Start times. Each
activity is represented by a bar with length proportional to its duration. However, the predecessor
relationships, usually shown as arrows in a CPM diagram, are not included. Instead, each activity's label, on
the left of the chart, includes a list of all of its Successor activities.
The model also produces input cells, in which you may put both a start time for the project and a deadline
for project completion.
Help with macro security
This is a very simple program, intended for teaching purposes. You are welcome to use it in any manner,
and change it as you see fit. This model comes without any guarantee whatsoever, and is distributed free of
charge.
The calculations are done by a Macro. Before running the macro, first enter the data on a new
worksheet according to the instructions below. Then run the macro using the following menu options:
Column B must have activity times (durations). The time units do not matter, but must be the same for all
activities.
Column C and subsequent columns must contain the predecessor activities, one predecessor per cell. Be
careful that the name of the predecessors are exactly the same as the names you used in the first
column.
Version 3.12 10/27/2007
John O. McClain
MODEL: The CPM calculations of Earliest Start (ES), Earliest Finish (EF), Latest Start (LS), Latest Finish
(LF) and Slack (sometimes called Float) will appear on the sheet on which the data reside.
INPUT Data: Enter the data on any sheet as follows (see the Example sheet):
Johnson Graduate School of Management
Ithaca NY 14853
Cornell University
Activities Time Predecessors Sample CPM Problem. To calculate a solution,
A 2 With Excel 2003, use Tools, Macro, Macros, CPM, Run.
B 4 With Excel 2007, select View Tab, then Macros, CPM, Run.
C 3 A D
D 5 B
E 3 C A
F 5 C B
G 2 E F C
0 Project Start Time Page Down to see the Project Gantt Chart
19 Project Deadline
19 Earliest Project Completion Time
0 Slack for Project Completion Time
Activities Sequence ES EF LS LF Slack Successor Activities
A-->C,E 1 0 2 7 9 7 C E
B-->D,F 2 0 4 0 4 0 D F
C-->E,F,G 4 9 12 9 12 0 E F G
D-->C 3 4 9 4 9 0 C
E-->G 5 12 15 14 17 2 G
F-->G 6 12 17 12 17 0 G
G 7 17 19 17 19 0
0 2 4 6 8 10 12 14 16
A-->C,E
B-->D,F
C-->E,F,G
D-->C
E-->G
F-->G
G
T
a
s
k
s

a
n
d

t
h
e
i
r

S
u
c
c
e
s
s
o
r
s

Gantt Chart with Activities at ES Times
Sample CPM Problem. To calculate a solution,
With Excel 2003, use Tools, Macro, Macros, CPM, Run.
With Excel 2007, select View Tab, then Macros, CPM, Run.
18 20
Tasks
Slack
246639599.xls.ms_office, Warning, p. 4 of 6
Try these steps. If step 1 does not work, then go to step 2.
STEP 1: Try to enable the macros
For Excel 2007,
A. If you see the Security Warning in your menu bar, proceed with step B.
If the Security Warning is not there, go to STEP 2.
B. In the Security Warning, Click Options.
C. In the Alert Window that appears, click Enable This Content and click OK.
For Excel 2003,
A. Close this file. Then open it again.
B. In the window that appears, click Enable Macros.
If a window like this one
does NOT appear, then go to STEP 2.
STEP 2: If Step 1 does not work
If you DID NOT get a Security Message, then your security setting is too high.
Here is what you should do:
For Excel 2007,
A. Click the Microsoft Office Button at the top-left of the screen:
B. Click Excel Options.
C. Click Trust Center, then Trust Center Settings, and then Macro Settings.
D. Click Disable all macros with notification
WARNING: YOU NEED TO ENABLE THE MACROS IN THIS FILE
246639599.xls.ms_office, Warning, p. 5 of 6
E. Exit from Excel. Closing the file is not enough. On the menu bar, select File, and then Exit.
F. Open this file again and follow the instructions in STEP 1 to enable the macros.
For Excel 2003,
A. On the menu bar at the top of this page, select Tools, then Macro, then Security.
B. On the Security Level tab, select Medium and click OK.
C. Then exit from Excel. Closing the file is not enough. On the menu bar, select File, and then Exit.
D. Open this file again and follow the instructions in STEP 1 to enable the macros.
246639599.xls.ms_office, Warning, p. 6 of 6

Das könnte Ihnen auch gefallen