I am calling a .bat file from a Java script using the Runtime.getRuntime().exec(execFile) command. The .bat file contains a line that starts Excel using a shortcut that also opens my workbook. However, when the workbook is open the workbook_open event does not run. When running the .bat file directly from a dos prompt the workbook opens and the workbook_open event runs fine. Does anyone know what would be preventing the workbook_open event from working when the workbook is opened using the Java script?