GetObject(ExcelFName, "Excel.Sheet")?

MyPlanet 2003-03-21 03:27:59
I use GetObject() and Excel.Workbook to open the Excel.Workbook object. The GetObject() will rise the install "Microsoft Office 2000 SR-1" dialog on some computer (but it will not rise this dialog on some other computers). If somebody know how to fix it, please help.

Dim l_objWorkSheet As Excel.Worksheet
Dim l_objWorkBook As Excel.Workbook

Set l_objWorkBook = GetObject(ExcelFName, "Excel.Sheet")
...全文
87 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
lihonggen0 2003-03-21
  • 打赏
  • 举报
回复
有的机子 office 少 一些文件
lxcc 2003-03-21
  • 打赏
  • 举报
回复
office全部安装即可!
DimVar 2003-03-21
  • 打赏
  • 举报
回复
up
chenyu5188 2003-03-21
  • 打赏
  • 举报
回复
可能是因为楼上说的,有的机子office没有装全。
litaoa 2003-03-21
  • 打赏
  • 举报
回复
呵呵。我英文很差,看的不是很懂。你说的弹出office2000的对话框的机器是win98还是2000?还有就是这些机器office有没有完全安装?

7,763

社区成员

发帖
与我相关
我的任务
社区描述
VB 基础类
社区管理员
  • VB基础类社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧