Try this,
if(app.selection[0].constructor.name=="Cell") { app.selection[0].parent.select(); } else if(app.selection[0].parent.constructor.name == "Cell") { app.selection[0].parent.parent.select(); }
Vandy
Try this,
if(app.selection[0].constructor.name=="Cell") { app.selection[0].parent.select(); } else if(app.selection[0].parent.constructor.name == "Cell") { app.selection[0].parent.parent.select(); }
Vandy