Can someone suggest/create a macro that would perform the following?
Insert cost1 in cost rate table A with an effectively date of 1/1/2010
Insert cost2 in cost rate table A with an effectively date of 1/1/2011
Insert cost3 in cost rate table A with an effectively date of 1/1/2012
Insert cost4 in cost rate table B with an effectively date of 1/1/2010
Insert cost5 in cost rate table B with an effectively date of 1/1/2011
Insert cost6 in cost rate table B with an effectively date of 1/1/2012
Thanks...
The macro has a a base logic
For each Reso in ativeproject.resoruces
(Handle the Pay Rates)
next Reso
To handle the Pay Rates in the cost rate table: the following is
Copied/pasted from VBA help:
Resource.CostRateTables Property
Returns a CostRateTables collection representing the cost rate tables for
the resource. Read-only Variant.
expression.CostRateTables
expression A variable that represents a Resource object.
Example
The following example lists the standard pay rates for all the cost rate
tables of the resource in the active cell.
Visual Basic for Applications
Sub ListPayRates()
Dim CRT As CostRateTable, PR As PayRate
Dim Rates As String
For Each CRT In ActiveCell.Resource.CostRateTables
For Each PR In CRT.PayRates
Rates = Rates & "CostRateTable " & CRT.Name & ": " & _
PR.StandardRate & " (Effective " & PR.EffectiveDate & _
")" & vbCrLf
Next PR
Next CRT
MsgBox Rates
End Sub
Hope this helps,
--
Jan De Messemaeker
Microsoft Project Most Valuable Professional
+32 495 300 620
For availabliy check:
http://users.online.be/prom-ade/Calendar.pdf
"R.Scott Fleming" <RScott...@discussions.microsoft.com> wrote in message
news:2581F324-E1F9-4FF3...@microsoft.com...
"Jan De Messemaeker" wrote:
> .
>
It will even be simpler then.
Where it reads Open the Enterprise resource pool simply open the project
that has the resoruces init.
HTH
--
Jan De Messemaeker
Microsoft Project Most Valuable Professional
+32 495 300 620
For availability check:
http://users.online.be/prom-ade/Calendar.pdf
"R.Scott Fleming" <RScott...@discussions.microsoft.com> wrote in message
news:DEA3EA7B-52A9-4D7D...@microsoft.com...
"Jan De Messemaeker" wrote:
> .
>
"Jan De Messemaeker" wrote:
> .
>