You can also use Get Attribute Activity to get an aastate attribute if it is disabled then it’s value will be unavailable, focusable and if it is enabled then it’s value will be focusable .
according to this activity output you can proceed further
If you need more clarification Please let me know.
Thx for your reply.
But the button “27” at Sep is only colour in grey, the function is fine, i guess my problem is when the loop running to 27, then it will find aaname = 27 for me and due to Sep 27 is the first one it find, so it click 27 Sep for me ( that why 1 to 26 and 30 is running perfectly).