To set a password for the file in Excel 2007, click the Office button and choose Save As. Select the file type that you want (probably the first one: Excel Workbook), and that will launch the Save As dialog box. In the lower-left corner is a button labeled Tools. Click that and then choose General Options. That will open another dialog box where you specify the password(s).