Concatenate result of InputBox with a prefix and a suffix.

I have an InputBox that is asking for a text string. (InputBoxVal).  How come when I try and concatenate the value with something else it does not want to?
The result I am looking for is: Summary##[whatever InputBoxVal is]##    so if I typed in the InputBox  "EE-Rocks"  the result would be:  Summary##EE-Rocks##

InputBoxVal = InputBox("Please enter and breif Summary for this ticket")
        .Body = .Body & "Summary##"&InputBoxVal&"&"##" & Chr(10)

Open in new window


What am I doing wrg in Ln2?
It it putting a line into the body of an email...  Please advise and thanks.
RWayneHAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
It should be...
"Summary##" & InputBoxVal & "##"

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
RWayneHAuthor Commented:
yup, worked perfect....  I always have issues with concatenating.  Thanks for the help.
0
Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
You're welcome!
While concatenating, all you need is to place the constant strings within double quotes followed by a space followed by & followed by another space and then your variable. :)
0
RWayneHAuthor Commented:
PS:  What happens if I click on the "Request Live Session"?  Is that a paid session?  What if we have an annual account...?
0
Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
Live session is a paid session where you buy the time as per the hourly rate set by the expert.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Outlook

From novice to tech pro — start learning today.