var excel=new ActiveXObject("Excel.Application"); var result=excel.InputBox("何かいれてね","what?"); excel.quit();