Thanks for the input. I would like a user of the spreadsheet to be able to enter data in the cells, but not change anything else to the spreadsheet, except save it. The suggestion below to protect the spreadsheet might be useful.
Thank you Jim for the suggestion to protect the worksheet. In your code I would like to swap Save and Save As (the user should be able to Save As, not to Save). I assume I can replace Save by SaveAs and SaveAs by Save in the code.