Skip to content

Commit 1670dc5

Browse files
committed
Test with office 64 bit
1 parent 9ca4883 commit 1670dc5

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/test/com/jacob/test/events/ExcelEventTest.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,18 @@ public void testExcelWithInvocationProxy() {
3636
String excelApplicationProgramId = "Excel.Application";
3737
String excelSheetProgramId = "Excel.Sheet";
3838
String typeLibLocation;
39-
// office 2003
39+
// office 2003 32 bit
4040
typeLibLocation = "C:\\Program Files\\Microsoft Office\\OFFICE11\\EXCEL.EXE";
41-
// office 2007
41+
// office 2007 32 bit
4242
typeLibLocation = "C:\\Program Files\\Microsoft Office\\OFFICE12\\EXCEL.EXE";
4343
// office 2013 32 bit
4444
typeLibLocation = "C:\\Program Files (x86)\\Microsoft Office\\Office14\\EXCEL.EXE";
45-
// Office 2013 32
45+
// Office 2013 32 bit
4646
typeLibLocation = "C:\\Program Files (x86)\\Microsoft Office\\Office15\\EXCEL.EXE";
47-
// Office 2019 32
47+
// Office 2019 32 bit
4848
typeLibLocation = "C:\\Program Files (x86)\\Microsoft Office\\root\\Office16\\EXCEL.EXE";
49+
// Office 2019 64 bit
50+
typeLibLocation = "C:\\Program Files\\Microsoft Office\\root\\Office16\\EXCEL.EXE";
4951

5052
// Grab The Component.
5153
ActiveXComponent axc = new ActiveXComponent(excelApplicationProgramId);

0 commit comments

Comments
 (0)