Thanks, I was looking for a formula that would put the filename into the
spreadsheet instead of me typing in the actual filename. I want to use this
formula on several different files.
Duke gave you the actual formula, =CELL("filename") the filename inbetween
the quotes is what pulls the actual filename from the file, and will change
automatically if you "save as" and give it a new filename. Try
=CELL("filename") exactly as you see it here. (look up the CELL worksheet
function in help...)