
So I updated to Lion a couple of months ago.
To my shame I now use Word / Excel quite a lot for reviewing briefs and writing up draft specs etc.
I noticed that when I open Word / Excel now, a seemingly random selection of past documents open. Sometimes 2 of my most recent, sometimes one from the deep past.
Anyway, this was cheesing me of for one, and for two is pretty insecure.
Here’s how to stop it happening.
Open up terminal (for the uninitiated you can find this by using spotlight to search for it, it is also in the Utilities Folder in Applications).
Copy and past the following line by line, pressing enter in between each line.
defaults write com.microsoft.Powerpoint NSQuitAlwaysKeepsWindows -bool false
defaults write com.microsoft.Word NSQuitAlwaysKeepsWindows -bool false
defaults write com.microsoft.Excel NSQuitAlwaysKeepsWindows -bool false
And hey presto, you have stopped the recent document weirdness.
The same thing can be done for any application in Lion. In order to find the application preference name, look at the files names found here (minus .savedState): ~/Library/Saved Application State.
Source: nerv.co.uk

