用spy只能識別出WpfTable("dataGrid1"),執行下面陳述句報錯為“Cannot identify the specified item of the dataGrid1 object. Confirm that the specified item is included in the object's item collection.
”
SwfWindow("CephPro").SwfObject("elementHost1").WpfWindow("WpfWindow").WpfTable("dataGrid1").ActivateCell 0,1
哪位大神幫忙解決下,小人不勝感激
uj5u.com熱心網友回復:
請先將復合陳述句拆成多行使用多個臨時變數的簡單陳述句,然后逐行判斷除錯。uj5u.com熱心網友回復:
一步步來。看每步得到的物件存不存在。轉載請註明出處,本文鏈接:https://www.uj5u.com/gongcheng/63968.html
標籤:控件
下一篇:如何用Word VBA縮放圖片?
