>Hi Paul,
>
>Are you calling the GetData method of the iClipboardData object? This code works consistently for me:
>
>
>Dim iClipboardData As IDataObject = Clipboard.GetDataObject()
>MessageBox.Show(iClipboardData.GetData(DataFormats.Text))
>
>
I can't even get that far - iClipboardData is Nothing after running the first line. I just tried the same command (well, the C# version of it) inside of a simple Windows form app, and it works OK. It doesn't work inside the macro, though. Very weird.