默认头像
路人甲
路人甲
  • 注册日期2004-08-05
  • 发帖数52
  • QQ
  • 铜币418枚
  • 威望0点
  • 贡献值0点
  • 银元0个
阅读:1269回复:0

怎样获取表?

楼主#
更多 发布于:2005-03-30 20:15
如下:

' get the first table in the table on contents dim ptabcollection as istandalonetablecollection dim psttable as istandalonetable dim pdisptable2 as idisplaytable dim pttable as itable set ptabcollection = pmap if ptabcollection.standalonetablecount = 0 then msgbox "must have atleast one table" exit sub end if

pmap并没有赋给ptabcollection 什么,于是出现"must have atleast one table"的错误,应怎样修改??? 请帮帮忙!!!

喜欢0 评分0
默认头像

返回顶部