Highlighted
New Member.
590 views

“ActivateCell” & “SelectCell” methods are throwing an error

“ActivateCell” and “SelectCell” methods of “SwfTable” Object throws an error message “The parameter is incorrect.”. The following code is used:

MyString = "xyz"
With SwfWindow("...")
.SwfTable("...").SetView ""
intRow = .SwfTable("...").RowCount
For i = 0 to intRow-1 Step 1
strCellData = .SwfTable("...").GetCellData( i,"Name")
If InStr(strCellData, MyString) > 0 Then
' .SwfTable("...").SelectCell i, "Start"
.SwfTable("...").ActivateCell i, "Start"
Exit for
End If
Next
End With

0 Likes
1 Reply
Highlighted
New Member.

Re: “ActivateCell” & “SelectCell” methods are throwing a

Hello,

I was not able to reproduce this issue. Can you give me more details, please?

The message could be for other line.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.