查看单个帖子
旧 2009-04-12, 09:56 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】open excell

open excell..
hi
i have the code as mentioned below and in the picture was working fine in previous macro. but when i tried to copy the same and use it in differnent macro it throws the error.
compile error: invalid use of new keyword and points to the below line.
objxl as new excel.application
can any one guide me how to rectify it.
i had properly added the reference too.
edited: 02/04/2009 at 02:00 pm by sandeep pawar
click for full image
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)