using 2007
I have a macro that uses text2 to store data for a particular analysis - i would like to provide a combobox of the text fields from which the user can select the text field he desires.
the problem is how to update the code -
For Each jTask In ActiveSelection.Tasks
'set tag for selected task
jTask.Text2 = 1
'scan dependencies and set tag
For Each dep In jTask.TaskDependencies
dep.From.Text2 = 1
dep.To.Text2 = 1
Next
Next
sooooo - if the user selects text6, how do I dynamically change the code so that
jTask.Text6 = 1 etc
regards,
gman