This method returns an integer indicating whether an item on the Clipboard object matches a specified format.
clipboard.GetFormat(format)
Constant |
Value |
Description |
vbCFLink | -16640 | DDE conversation information |
vbCFText | 13 | Text |
vbCFBitmap | 2 | Bitmap (.bmp files) |
vbCFMetafile | 3 | Metafile (.wmf files) |
vbCFDIB | 8 | Device-independent bitmap (DIB) |
vbCFPalette | 9 | Color palette |
Boolean. True indicates the format matches the type of data on the clipboard. False indicates the format does not match the type of data on the clipboard.
The only supported clipboard format is text (vbCFText).