H
Hadi
Experts,
I am currently using MS Project 2007. I went to a 2010 conference the other
day and really liked the new task "Inactive" feature. I want to implement
something like it in my Server enviornement to help nvoice users that are not
comfortable with deleting tasks and reconnecting logic. I'm looking to create
a macro that will do the following on any highlighted task or tasks row (not
just the task name cell)
- Fomrat font to sliver, cell background to sliver with parrern 2
- make duration 0, uncheck the "Mark Task as Milestone task"
I recorded a macro and it works if I chose one task, but does not if I have
more than one highlighted. Even, when I use one task it always goes back to
the original task I used to record the macro. here is the macro i recorded
Sub Inactive()
' Macro Inactive
' Macro Recorded Fri 3/12/10 10:04 AM by User.
SelectRow Row:=0
FontEx Italic:=True, Underline:=True, Color:=15, CellColor:=15, Pattern:=2
SelectTaskField Row:=0, Column:="Duration"
SetTaskField Field:="Duration", Value:="0"
SelectTaskField Row:=0, Column:="% Complete"
SelectTaskField Row:=0, Column:="Name"
SetTaskField Field:="Milestone", Value:="No", AllSelectedTasks:=True
End Sub
your help is much appreicated
Hadi
I am currently using MS Project 2007. I went to a 2010 conference the other
day and really liked the new task "Inactive" feature. I want to implement
something like it in my Server enviornement to help nvoice users that are not
comfortable with deleting tasks and reconnecting logic. I'm looking to create
a macro that will do the following on any highlighted task or tasks row (not
just the task name cell)
- Fomrat font to sliver, cell background to sliver with parrern 2
- make duration 0, uncheck the "Mark Task as Milestone task"
I recorded a macro and it works if I chose one task, but does not if I have
more than one highlighted. Even, when I use one task it always goes back to
the original task I used to record the macro. here is the macro i recorded
Sub Inactive()
' Macro Inactive
' Macro Recorded Fri 3/12/10 10:04 AM by User.
SelectRow Row:=0
FontEx Italic:=True, Underline:=True, Color:=15, CellColor:=15, Pattern:=2
SelectTaskField Row:=0, Column:="Duration"
SetTaskField Field:="Duration", Value:="0"
SelectTaskField Row:=0, Column:="% Complete"
SelectTaskField Row:=0, Column:="Name"
SetTaskField Field:="Milestone", Value:="No", AllSelectedTasks:=True
End Sub
your help is much appreicated
Hadi