You can use Format > Conditional Formatting without the need for code,
Select 'Not equal to' in the droplist, 0 in the box to the the right and hit
'Format' to select the border,
Regards,
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.