safest way is to format and reinstall the Operating System and Office if you want word and excel. Just deleting the offending files from the hard drive is not a safe way to do it as they are too easily recoverable.
Just find the Windows 98 Boot disk and the Office CD and away you go