You can search the archives:
using "expire workbook" as keywords, but the bottom line is that there's
just about no way in XL to really prevent an even slightly ambitious
user from bypassing any protection you put in.
Worksheet protection is a joke, macro protection can be removed by
commercial crackers, so any VBA you put in is vulnerable to anyone with
the gumption to, say, read these newsgroups.
You'll get better security if you make your application a compiled
add-in, but even then you'll need to be careful that simply setting the
machine's clock back, or deleting a hidden file, or changing/removing a
registry setting, won't reset your app.