Dim oParent
Set oParent = oNode
Do
Set oParent = oParent.parentNode
Loop While oParent.tagName <> "TABLE"
Dim oParent
Set oParent = oNode
Do
Set oParent = oParent.parentNode
Loop While oParent.tagName <> "TABLE"
转载于:https://www.cnblogs.com/dushuai/articles/2602595.html