View Single Post
 
Old 10-29-2014, 07:33 AM
Smithy02468 Smithy02468 is offline Windows 7 64bit Office 2010 64bit
Novice
 
Join Date: Oct 2014
Posts: 9
Smithy02468 is on a distinguished road
Default Concatenate two textbox values for message box

I was wondering if anybody knows how to concatenate the output from two textboxes for use in a message box?


Below is the code i have and i want to display

Lookup for (Value of Textbox 1 and Value of Textbox 2) not found.

I thought and ampersand would do the trick but it comes up with an error

MsgBox "Lookup for " & TextBox1.Text Textbox2.Text " not found"

Any suggestions appreciated

Regards

Colin
Reply With Quote