Answered
Prerequisite: I have already selected cells from multiple columns
Hi
You could try something like this, which works on your sample:
//this assumes selection[0] is [object Cell]
var s = app.activeDocument.selection[0]
var col = s.cells[0].parentColumn.cells
for (var i = 1; i < col.length; i++){
try {
if (col[i].insertionPoints[0].horizontalOffset == col[0].insertionPoints[0].horizontalOffset) {
col[i].select(SelectionOptions.ADD_TO)
}
}catch(e) {}
};
Result with your example:

But if I change the position of the text frames so they align vertically I get this:

Sign up
Already have an account? Login
To post, reply, or follow discussions, please sign in with your Adobe ID.
Sign inSign in to Adobe Community
No account yet? Create an account
To post, reply, or follow discussions, please sign in with your Adobe ID.
Sign inEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.

