I would be grateful if someone could help me to check if cell contains shapes.
In a cell their is word called “present and absent ” if present is circled, then display “present ” in another sheet range h27 and if “absent ” is circled than display absent but If cell does not contain any shape (I mean if both the present and absent is not circled than display nothing on h27) than display nothing on h27 .
I tried to in that way but it is not taking me anywhere .so I will be very grateful if someone could point me into right direction.
Thank you so much .
<quote >
If ws.Range("H27").Shapes.Count > 0 Then
InputArr(tenure.attendance ).Value = "present"
Else
If ws.Range("H27").Shapes.Count = 0 Then
InputArr(tenure.attendance ).Value = "absent"
End If
</quote >
In a cell their is word called “present and absent ” if present is circled, then display “present ” in another sheet range h27 and if “absent ” is circled than display absent but If cell does not contain any shape (I mean if both the present and absent is not circled than display nothing on h27) than display nothing on h27 .
I tried to in that way but it is not taking me anywhere .so I will be very grateful if someone could point me into right direction.
Thank you so much .
<quote >
If ws.Range("H27").Shapes.Count > 0 Then
InputArr(tenure.attendance ).Value = "present"
Else
If ws.Range("H27").Shapes.Count = 0 Then
InputArr(tenure.attendance ).Value = "absent"
End If
</quote >