Reply To: Delete empty cells from Data Merge via JS

#56227

Does this make it work?

if (myDocument.textFrames[i].tables[j].rows[k].cells[l].contents.length > 0)

The 'contents' property of a cell is not guaranteed to be a string — it can also be a single special character or nothing at all (not even an empty string).

This article was last modified on July 1, 2010

Comments (0)

Loading comments...