Edit table cells in VBA

S

stevewy

Is there a way I could go through each table cell in a document,
removing the last character from each cell? I know that each table
cell ends with a table end cell marker, so perhaps what I what is to
remove the last-but-one character in each cell.

I guess it isn't as easy as saying:

For Each Cell in ActiveDocument.Tables(1)
NewContent=Left(Content, Len(Content)-2)
Next

.... so where am I going wrong? Barking up the wrong tree completely,
or just slightly out?

Steve Wylie
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top