K
Ken
I am new to VB, and thought I could do something like this:
if ActiveSelection > 0 and isObject(ActiveSelection.Tasks) then
:
if ActiveSelection.Tasks.Count > 10 then
message("Can't work on more than 10 tasks at a time")
end if
:
end if
This doesn't work if you have Resources selected or if you have no tasks
selected. Can anybody give suggestions on how to resolve this?
Thanks.
if ActiveSelection > 0 and isObject(ActiveSelection.Tasks) then
:
if ActiveSelection.Tasks.Count > 10 then
message("Can't work on more than 10 tasks at a time")
end if
:
end if
This doesn't work if you have Resources selected or if you have no tasks
selected. Can anybody give suggestions on how to resolve this?
Thanks.