求教:vfp表单中用webbrowser打开excel文件,怎么返回打开的excel的当前单元格的行号和列号

求教:vfp表单中用webbrowser打开excel文件,如何返回打开的excel的当前单元格的行号和列号
本帖最后由 apple_8180 于 2013-03-12 09:25:41 编辑
求教:vfp表单中用webbrowser打开excel文件,如何返回打开的excel的当前单元格的行号和列号
http://bbs.****.net/topics/340105307
看了以前的帖子,但是还没搞清楚
劳烦各位帮忙提示
webbrowser excel

------解决方案--------------------
MessageBox(Thisform.olewebBrowse.Document.Application.ActiveCell.Row)     && 行号
MessageBox(Thisform.olewebBrowse.Document.Application.ActiveCell.Column)  && 列号



MessageBox(Thisform.olewebBrowse.Document.ActiveSheet.Application.ActiveCell.Row) 
MessageBox(Thisform.olewebBrowse.Document.ActiveSheet.Application.ActiveCell.Column)