Find table intersect with selection
问题 I'm looking for a Javascript equivalent of the Excel VBA Intersect method. I need to find the active cell table. Basically everything I do with tables is based on which table the user currently has selected. IIRC, there is currently there is no way to do this directly. So what I'm trying to do is basically this: Get the selected range (still not perfect, as I really only want the ActiveCell , not the Selection ). Get the worksheet. Loop through all tables on the worksheet. Check each table