how do i check to see if the clipboard contains data?
Try this: Code: Private Sub Command1_Click() x = Clipboard.GetText() If x <> "" Then MsgBox "Data on clipboard!" Else MsgBox "No data on clipboard!" End If End Sub
Private Sub Command1_Click() x = Clipboard.GetText() If x <> "" Then MsgBox "Data on clipboard!" Else MsgBox "No data on clipboard!" End If End Sub
Forum Rules