Hi,
I have this code
If i press cancel, the TextBox1 is populated with 'False' . This creates a problem when i try to attach the file to Outlook, as it cant find the file path. So i need to return "Blank" (nothing at all) when cancel is pressed.Private Sub AttachButton_Click() Dim vaFiles As Variant vaFiles = Application.GetOpenFilename() TextBox1.Text = vaFiles
Any suggestions?
Bookmarks