我为自己的机器人创建了2个渠道:网络聊天和直接渠道,并且似乎直接渠道无法正常运行。
我可以使用开发人员工具看到完整的代码,但是页面似乎空白:
在这里您可以找到我的directline代码。 P.S,当我在Web通道中测试我的代码时工作正常。
directline.html
lastrow2 = ws3.Range("F" & Rows.Count).End(xlUp).Row
Dim cell As Range
Dim CellText As String
For Each cell In ws3.Range("I2:I" & lastrow2)
If cell.Text <> cell.Value And Len(cell.Value) <= 255 Then
CellText = cell.Text
cell.NumberFormat = "@"
cell.Value = CellText
End If
Next cell