Excel has built-in support for Visual Basic. This probably means you can steer both Excel and ID from within the same VB -- I know it's possible through Word -- but has nothing to do with JS. Or with InDesign's support for JS. Or InDesign Scripting in general.
So, is it possible with VB? Well, it might be, but you might want to ask that one on a Microsoft forum, or this one: