Hi Greg,

That works now thank you. Yes the code is running within the execute command of clicking the command button (Apply).

One final question... If I have several checkboxes and I want the same thing to happen but as follows:

Checkbox 1 & 2 ticked - then populate with building block 1
Checkbox 1 & 3 ticked - then populate with building block 2
Checkbox 2 & 3 ticked - then populate with building block 3

Is there a way to modify the code to achieve this? I'm assuming there would be an IF xxx AND xxx type amendment that can be applied to the code?

Thanks,
SJ