Yes you can do it in Java but, I think you're going the wrong way about it.
If you use SWT, you can access both MS Access and Excel with your java program. You will need to ship the dlls or so's depending on the user's OS.
However, I think you'd be much better off using JDBC to get the data from Access, and using POI to create your spreadsheet. Just skip the whole macro bit entirely.
|