Oooooops! It would appear I am talking out of holes normally reserved for other purposes!
That is exactly the procedure I saw but I didn't read it properly! I take back what I said but it would be a nice procedure to have I think.....
On a serious note though, I have noticed that Intellisense finds sp_MSforeachtable and sp_MSforeachdb. Does that mean they are both documented and supported procedures. If so then my job has suddenly become a little simpler!