Your implementation suggests you want to exclude tables 1 - 11. In that case, you should use:
If i < 12 Then Exit Sub
However, your first post said:
Quote:
a word (10) document with 17 tables in it. I want to run an OnEnter event that only applies to tables 2, 4, 5, 6, 8, 9, 10,& 11. There is no data or active content in tables 3 & 7
|
In that case, you should use:
If (i = 1) Or (i = 3) Or (i = 7) Or (i >11) Then Exit Sub