C
Carl
I have a macro I like that keys off of data in Text1. I would like to
generalize it so that I can pass in the column that drives report generation.
I would like to do something like:
Dim RptFld as string
RptFld = "Text2"
For Each Tsk In ActiveSelection.Tasks
If Not Tsk Is Nothing
Debug.Print Tsk.RptFld
End If
Next Tsk
How do I get the value of RptFld used so that the Debug.Print statement will
print the contents of Text2?
-- Carl
generalize it so that I can pass in the column that drives report generation.
I would like to do something like:
Dim RptFld as string
RptFld = "Text2"
For Each Tsk In ActiveSelection.Tasks
If Not Tsk Is Nothing
Debug.Print Tsk.RptFld
End If
Next Tsk
How do I get the value of RptFld used so that the Debug.Print statement will
print the contents of Text2?
-- Carl