Reply To: Delete empty cells from Data Merge via JS

Home Page / Forums / General InDesign Topics (CLOSED) / Delete empty cells from Data Merge via JS / Reply To: Delete empty cells from Data Merge via JS

#53282

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 June 30, 2010

Comments (0)

Loading comments...