How to find Cell that contains a Range in Word VBA

In Word VBA I have a reference to a Range that is contained withing a table cell.

How can I get a reference to the containing cell (the innermost cell if there are nested tables)?

What I'm trying to achieve is to find the cell containing my range, then move to the next adjacent cell.


This worked for me:

Debug.Print rng.Cells(1).Next.Range.Text 

Need Your Help

Getting the CVE ID Property of an update from WSUS API via Powershell

windows security api powershell

I am writing a script in Powershell to get the update information from each computer and correlate the information with another System which identifies updates by CVE ID. I have discovered that the...

Select2 Ajax not filtering results based on query


I am new to Select2 and am having trouble integrating AJAX. When I search, the results aren't being filtered based on the query.