For a .xlsm or .dotm file type you need to do it a slightly different way.
- Change the extension of the .xlsm file to .zip.
- Open the .zip file (with WinZip or WinRar etc) and go to the xl folder.
- Extract the vbaProject.bin file and open it in a Hex Editor (I use HxD, its completely free and lightweight.)