Active task: how understand if a task is selected?

V

Vit

hi all,

I'm trying to perform some vba code that should do something only if
the tasks are selected....

here you are my code....


Dim t as Task

For Each t In ActiveProject.Tasks

If t.Application.ActiveCell = 1 Then

...
...
...
...

End If

Next t

but it doesn't work....

what is the command that let me understand if the task is selected or
not?

thank you so much

Vit
 
Top