Jean-Guy
Mon Sep 27 15:08:16 CDT 2004
Bonjour,
Dans son message, < James > écrivait :
In this message, < James > wrote:
|| I'm using a doc w/multiple tables. How can I tell from the current
|| selection point which # table the user is in?
|| Tks.
Something like this:
'_______________________________________
Dim myRange As Range
Dim TableIndex As Long
Set myRange = ActiveDocument.Range
myRange.SetRange myRange.Start, Selection.Start
TableIndex = myRange.Tables.Count
'_______________________________________
--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site:
http://www.word.mvps.org