PioneerSolutions
asked on
Word 2007: Using a relative reference to access adjacent cells in a table
I am working with a table in Microsoft Word (2007)
1) Using VBA how can I access cells adjacent to the active cell using relative referencing
2) To add to the question, suppose the active cell to be in a nested table, how would I navigate the table object model to access cells in the parent table, where ever they might be, without resorting to direct referencing (e.g. ActiveDocument.Tables.Cell (2,3) &.etc)
Please see attached example or just follow this link to see an illustration of the question
http://www.eligreen.com/share/RelativeCellReference.pdf
Please provide a snippet for each cell in the illustration. Thank you!
RelativeCellReference.doc
1) Using VBA how can I access cells adjacent to the active cell using relative referencing
2) To add to the question, suppose the active cell to be in a nested table, how would I navigate the table object model to access cells in the parent table, where ever they might be, without resorting to direct referencing (e.g. ActiveDocument.Tables.Cell
Please see attached example or just follow this link to see an illustration of the question
http://www.eligreen.com/share/RelativeCellReference.pdf
Please provide a snippet for each cell in the illustration. Thank you!
RelativeCellReference.doc
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER