Here are some steps you can follow for a successful treasure hunt activity:
Hide objects or tell the team what they need to find
Give the team clues of what they will find
Define the search location
Determine the time the team has to find the objects
The first team to complete the task wins
These are just the basic steps. Feel free to customize the exercises as you wish to suit your team.