2011年1月19日

C#操作Excel的几个函数

摘要: //获得某个文本的在excel的sheet中的位置public Position GetPosition(Worksheet mySheet,string strText) { Position positon = new Position(); try { Range currentFind = mySheet.Cells.Find(strText, Type.Missing, Microsoft.Office.Interop.Excel.XlFindLookIn.xlValues, Microsoft.Office.Interop.Excel.XlLookAt.xlWhole, Micro 阅读全文

posted @ 2011-01-19 17:21 catvi 阅读(5112) 评论(0) 推荐(0) 编辑

导航