In textFrame Last Row appliedCellStyle
Dear Friends,
I need your help;
How to appliedCellStyle(row) for continued tables first text frame end of the row?. I have place the code is below, but not working.
Please suggest friends! what can i do?
var myTable = app.activeDocument.stories.everyItem().tables[0].rows.everyItem();
var myCell = myTable.cells.everyItem().getElements();
for(var n=0;n<myCell.length-1;n++){
var cell1 = myCell
.texts[0].insertionPoints[0].parentTextFrames[0].id; var cell2 = myCell
.texts[0].insertionPoints[0].parentTextFrames[0].parentPage; var cell3 = myCell
.texts[0].insertionPoints[0].parentTextFrames[0].parentPage.documentOffset; cell3.appliedCellStyle = "TBL_row";
I have attached screenshot also:
InPut:

OutPut:

I need to help friends.
Thanks in Advance
Ks
