Script to force close sheet opened by someone else

Was wondering what script to run as root that will take as input a filename (full path) that is opened by someone else and force whoever has it opened to close it? Or maybe there is an existing command to do this? Thanks

Edit:
Meant to say file not sheet, too much Excel...

Do you mean fuser ?

Interesting, I guess I could wrap a script around that command.