Formula Protection Cell Selection msgbox

When I right click a cell and select Protect selected cells with XLS Padlock I get msgbox "Please save the Excel workbook as a file first. This workbook was opened from a .xlsm file.

Is there any reason why you don’t open the workbook to compile manually?