P
Peter Rooney
Jack gave me a useful tip (see "Problems with filtered data") as to how I
should best filter my plan to show activities carried out by a certain team
(add a field and enter the team name into it for filtering purposes). So now,
I want to go down my plan and input the name of the team into the new text
field. I obviously don't want to type it in manually each time - rather, for
my new field, I want to select arange or tasks, then input a new value into
each "cell" (incidentally, what is the correct terminology?) in my selection.
i KNOW I should learn my object hierarchy more thoroughly but I have to set
my objectives to the end of the year today (new job - only been here three
weeks) and one of them is managing this plan - this is about the last thing I
need to do urgently, before I can give myself the luxury of actually learning
Project VBA!
Sorry to bring my life history onto the board, but you wouldn't want to see
me chucked out, would you..?
Heres the code I started with.
Sub AllTeam()
For Each InputField In ActiveSelection.Tasks
SetInputField Field:="Text5", Value:="Software Mgt"
Next
End Sub
This inputs the value into the first cell in the selction, but not the rest.
Thanks in advance
Pete
should best filter my plan to show activities carried out by a certain team
(add a field and enter the team name into it for filtering purposes). So now,
I want to go down my plan and input the name of the team into the new text
field. I obviously don't want to type it in manually each time - rather, for
my new field, I want to select arange or tasks, then input a new value into
each "cell" (incidentally, what is the correct terminology?) in my selection.
i KNOW I should learn my object hierarchy more thoroughly but I have to set
my objectives to the end of the year today (new job - only been here three
weeks) and one of them is managing this plan - this is about the last thing I
need to do urgently, before I can give myself the luxury of actually learning
Project VBA!
Sorry to bring my life history onto the board, but you wouldn't want to see
me chucked out, would you..?
Heres the code I started with.
Sub AllTeam()
For Each InputField In ActiveSelection.Tasks
SetInputField Field:="Text5", Value:="Software Mgt"
Next
End Sub
This inputs the value into the first cell in the selction, but not the rest.
Thanks in advance
Pete