thank you Chinna
perfect
if add 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();
}
//=============================================================================
into it it will very perfect
John