Powering Arduino via PSU but with USB sometimes

Thanks for the reply, guess I will give this a go. I am using Arduino Leonardo (Sparkfun version Pro Micro) boards. Would you happen to have some documentation for this feature you describe ??