Sorry, will post code up shortly, there are several modules to program so not quite sure how to do it