Trying to figure out how to replace text in a cell in a table in a Word
document.
otable1 = oword.activedocument.tables[1]
WITH otable1
.cell[1,1].range.insertbefore("newtest")
.cell[1,1].range.insertafter("newtest")
endwith
This will add the text to the front and back of what's already there, but
what I'd really like to do is replace the text in that cell...
I tried ".cell[1,1].range.replacetext("newtest")", and other variations, but
get an error message.
The Find and replace won't work here because the text in that cell isn't
consistant.
Jim Harvey
Spring Grove, PA
cell 717-887-2565
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/001e01cf52af$62ed3160$28c79420$@[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.