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

怎样获取表?

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


<P>'<I></I> get<I></I> the<I></I> first<I></I> table<I></I> in<I></I> the<I></I> table<I></I> on<I></I> contents
dim<I></I> ptabcollection<I></I> as<I></I> istandalonetablecollection
dim<I></I> psttable<I></I> as<I></I> istandalonetable
dim<I></I> pdisptable2<I></I> as<I></I> idisplaytable
dim<I></I> pttable<I></I> as<I></I> itable
set<I></I> ptabcollection<I></I> =<I></I> pmap
if<I></I> ptabcollection.standalonetablecount<I></I> =<I></I> 0<I></I> then
msgbox<I></I> "must<I></I> have<I></I> atleast<I></I> one<I></I> table"
exit<I></I> sub
end<I></I> if</P>
<P>pmap并没有赋给ptabcollection<I></I> 什么,于是出现"must<I></I> have<I></I> atleast<I></I> one<I></I> table"的错误,应怎样修改???<I></I> <I></I> 请帮帮忙!!!<I></I> <I></I> <I></I> <I></I> </P>
喜欢0 评分0
游客

返回顶部