Thread: [Solved] Word GoTo From Excel
View Single Post
 
Old 12-04-2012, 03:28 PM
macropod's Avatar
macropod macropod is online now Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,379
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

You still don't need to 'GoTo' the table. Indeed, it seems like you're trying to use 'GoTo' as a surrogate for 'Select'.

Neither is necessary for vba processing. Furthermore, if you know which table it is in the document, you don't even need a bookmark. For example:
Code:
With wrdDoc.Tables(4).Range
    .Cells(2, 3).Text = "My Text"
End With
populates cell C2 in the 4th table in the document.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote