How to use Java Script in Excel macros?

This might be helpful:

  1. Running a Javascript from VBA.
  2. Call javascript function from vba
  3. SO question: How to call a javascript file via Excel VBA?