After some testing I find I can use copy and paste to move selected text between a field and the clipboard, but I want to put data directly from a variable on to the clipboard without making the text visible and selected. How can I do this please? thanks David