Keep portioned snack bags of your favorite treats at home, and take one to work each day. This allows you to control your temptations at work. – The Hot Plate