摘要: 在VS2010中调用COMInteropDLL操作Excel通过get_Range去获取Range时,会发生Objectdoesnotcontainadefinitionforget_Range的错误。其原因和解决方案:Misha'sexplanationiscorrect-whenusingNoPIA,methodsreturningobjectaretreatedasiftheyreturndynamicinordertosimulatetheVBAsemanticsofCOMVariants.Becausethereturnvalueofsh.CellsisObject,sh.g 阅读全文
posted @ 2012-12-05 10:22 未来的梦 阅读(864) 评论(0) 推荐(0) 编辑
摘要: http://www.doc88.com/p-468115299330.html 阅读全文
posted @ 2012-12-05 09:29 未来的梦 阅读(168) 评论(0) 推荐(0) 编辑