You cannot do that. If it was possible, virus writers could destroy your files. People can prevent you macro from running in other ways too (eg via their macro security settings or by starting Excel in safe mode). You cannot stop the users doing any of these things.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|