参考:
http://www.foxtable.com/help/topics/1597.htm
例如:
With Tables("订单") If .TopPosition > -1 Then '如果选定区域包括数据行 For i As Integer = .TopPosition To .BottomPosition .Rows(i)("列名") = “某个值” Next End IfEnd With