The IsItemSelected data member returns a Boolean value that indicates whether an item is selected in the topmost open schedule.
Application object
Boolean
Read-only
The ItemIdSelected and TableSelected data members are valid only if IsItemSelected returns True.