Hi Guys,
Can print a single value to a msg box but struggling with syntax to print 2.
Tried & + but no go.
Thanks

Hi Guys,
Can print a single value to a msg box but struggling with syntax to print 2.
Tried & + but no go.
Thanks

Hello,
Plz use + symbol… CompanyEmail(0)+CompanyName(0).
Hey Buddy, tried that, also tried &
Thanks
It should work fine…Message box will allow only string values… May I know what type of value you are getting in CompanyName(0) and CompanyEmail(0).
Plz try CompanyEmail(0).ToSting+” “+CompanyName(0).ToString
If you are outputting in different message boxes what output you are getting? Can share the screenshot?
Plz try the below expression: string.Format(CompanyName(0))+string.Format(CompanyEmail(0))
I tried to print 2 string values concantanated with “+” and it’s working.
Hello,
What is the error that you are getting?
Thanks!
Athira
These Must be concatenate if they are of string type variable(by seeing the name of variable). This isn’t giving error. PFB SS -

Hello,
Can you please try like this in the advance editor of message box:
Saved.Values(Of System.String)(“Day”)+Saved.Values(Of System.String)(“Today”)
Note: I have declared the variable as string, so I used System.String. Please replace it with your variable type.
Thanks!
Athira
Please Replace Day and Today with “CompanyEmail(0).ToString” and “CompanyName(0).ToString”.
Thanks!
Athira
Can you please hover over error icon and see what’s the error? Also, try to remove .ToString and see if error is different.
Hi,
Tried removing the .ToString but still an error.
Please find shot of before I removed the .ToString.
Thanks for your help its much appreciated.

It’s weird. Can you please hover over the error you are getting when you try to concatenate both variables like this. Ideally this should work:
CompanyEmail(0)+CompanyName(0)
Thanks!