I have written a vbscript which extracts a excel attachment from an e-mail then converts it to the standard spreadsheetml format using this simple code= vbscript: objwb.ActiveSheet.UsedRange.Value(xlRangeValueXMLS preadsheet). Now I have a need to port this over to java. But have not seen anyway to do this. Is there a way to get this?