xlsx to stm conversion seems to be related to export of Excel spreadsheets to a bank statement format for LloydsTsb bank statement. It is unlikely you can do that in Excel, unless some kind of plugin can be imported to Excel to give it that capability.
It is more likely that .stm files are only generated by the bank or their online banking service.