Dispatch.call(selection, "TypeText", "标题"); // 写入标题内容
报错是The method call(Dispatch, String, Object[]) in the type Dispatch is not applicable for the arguments (Dispatch, String, String)
请问这个问题怎样解决
可以参考以下这个
http://www.myexception.cn/program/781772.html
是不是import不会引起的
import com.jacob.activeX.ActiveXComponent;
import com.jacob.com.Dispatch;
import com.jacob.com.Variant;