Ha! I left this tab open for a while doing something else then typed my answer. Just seen you worked it out already. You did come up with the easiest way. Just need to mod your code a bit as the else section is redundant.
Last edited by ruprecht; 07/11/16 10:56 AM.