I have saved the module into a XLAM file, but its not appearing in the macro list.
This is normal behavior, macros inside AddIns can executed from the UI only using a button.
So either you have to add a CustomUI.xml and all that
Sample file
https://www.dropbox.com/s/4xn12u5txvywk14/SimpleRibbon.xlsm?dl=1
or move the macro to your PERSONAL.XLSB file.
Andreas.