Redian新闻
>
在Excel中如何使用XML?
avatar
在Excel中如何使用XML?# XML - WWW明日之星
y*u
1
Problem:
需要在Excel中输入并validate很多的数据,Validation通过Excel Macro 完成

因为validation rules会经常地变化,所以需要将rules和validation code分开

我想使用XML,可是具体的structure应该是什么样子的呢?XML parser从何而来

XML rules放到什么地方?.bas file? or another worksheet?
如果XML不是一个好的选择,只好将rules都hard code到validation macro里面
了。
请各位高手帮忙参考一下。
avatar
s*k
2





True, up to now XML不是一个好的选择, I think Visual Basic for
Application
(VBA) is a good choice. VBA is a very powerful tools and support your
Macro. It is worth to learn it if you are frequent user of Excel.
In general, XML parser is for parse XML documents according to the DTD
or scheme. Currently XML tools are not very mature and cannot provide
many features user needed.
Maybe Excel 3000 can support XML validate of data. 8-)

【在 y*u 的大作中提到】
: Problem:
: 需要在Excel中输入并validate很多的数据,Validation通过Excel Macro 完成
: 。
: 因为validation rules会经常地变化,所以需要将rules和validation code分开
: 。
: 我想使用XML,可是具体的structure应该是什么样子的呢?XML parser从何而来
: ?
: XML rules放到什么地方?.bas file? or another worksheet?
: 如果XML不是一个好的选择,只好将rules都hard code到validation macro里面
: 了。

avatar
y*u
3
OK, got answer from MSDN
可以在Excel中call IE4.01+的 XML parser,

【在 s*k 的大作中提到】
:
: 成
: 开
: 来
: 面
: True, up to now XML不是一个好的选择, I think Visual Basic for
: Application
: (VBA) is a good choice. VBA is a very powerful tools and support your
: Macro. It is worth to learn it if you are frequent user of Excel.
: In general, XML parser is for parse XML documents according to the DTD

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。