Oops make the For x = 0 to nums, Otherwise you end up with "off by one" errors if you do things like "Date() + num" On 24 Mar 2023 at 20:37, Stuart McLachlan wrote: > For x = 1 To nums