Hi
Try something like
If Selection.Information(wdWithInTable) Then
'do stuff
Else
'can't do this because we're not in a table
End If
Hope this helps.
Shauna Kelly. Microsoft MVP.
http://www.shaunakelly.com/word
> There is one macro which applies to table in which there is insertion
> point. If insertion point there not exist (insertion point is there
> out of table) then we is of error.
> How can I determine is there is insertion point into any table or not?
> Thank you!
avkokin - 17 Oct 2007 10:15 GMT
On Oct 17, 1:03 pm, "Shauna Kelly"
<ShaunaKe...@SendNoSpamToShaunaKelly.com> wrote:
> Hi
>
[quoted text clipped - 15 lines]
> > How can I determine is there is insertion point into any table or not?
> > Thank you!
Thank you Shauna!
It's very good work.