Hi,
I'm writing a VBA code in excel to retrieve data from Personal Communications. At some point I need to determine if a text in a defined Row and Col is of color white! Can anyone help me? I'm trying to use WaitForAttrib but I can't get it to work.
Sub Teste()
Dim autECLPSObj As Object
Set autECLPSObj = CreateObject("PCOMM.autECLPS")
autECLPSObj.SetConnectionByName ("A")
If autECLPSObj.WaitForAttrib(11, 18, "F", "3c", 3, 1000) Then
MsgBox "Attribute"
Else
MsgBox "Timeout Occurred"
End If
End Sub
Can anyone please help?
I'm writing a VBA code in excel to retrieve data from Personal Communications. At some point I need to determine if a text in a defined Row and Col is of color white! Can anyone help me? I'm trying to use WaitForAttrib but I can't get it to work.
Sub Teste()
Dim autECLPSObj As Object
Set autECLPSObj = CreateObject("PCOMM.autECLPS")
autECLPSObj.SetConnectionByName ("A")
If autECLPSObj.WaitForAttrib(11, 18, "F", "3c", 3, 1000) Then
MsgBox "Attribute"
Else
MsgBox "Timeout Occurred"
End If
End Sub
Can anyone please help?