For each r as row In Datatable("表名").Datarows
If r("列名") = "条件值" Then
r("列名") = ""
End If
Next
估计3楼是笔误,改成这样:
For each r as row In Tables("表名").rows |
[此贴子已经被作者于2009-10-20 16:13:10编辑过]
哈哈,datatables 与 tables 经常混写啦~~~
好像4楼提示是 要将
For each r as row In Datatable("表名").Datarows 改为:
For each r as
datarow In Datatable
s("表名").Datarows 应该可以!
[此贴子已经被作者于2009-10-20 16:30:55编辑过]