Error 460
The specified Clipboard format is incompatible with the method being executed. GetText and SetText can be used only with CF_TEXT or CF_LINK formats. GetData and SetData can be used only with CF_BITMAP, CF_METAFILEPICT (Windows metafile picture), or CF_DIB (device independent bitmap) formats.
Note
The Clipboard formats, such as CF_TEXT and CF_BITMAP, are global constants that must be set to numerical values found in CONSTANT.TXT. If you do not initialize these in your code, Visual Basic treats them as variables and initializes them to 0.
See Also
GetFormat