Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

sentence construction using

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Sentence construction using VBA.

Sentence construction using VBA.

ResolvedVersion 2010

Zainab has attended:
Excel Intermediate course
Excel Advanced course

Sentence construction using VBA.

How to create sentences using formulas in excel?

RE: Sentence construction using VBA.

Hi Zainab,

Thank you for the forum question.

If you want to concatenate cells into a sentence you can use the concatenate function. See example below.

ctiveCell.FormulaR1C1 = _
"=CONCATENATE(RC[-5]& "" "",RC[-4]&"" "",RC[-3]&"" "",RC[-2]&"" "",RC[-1])"

I just recorded this. To get a space between each word you need to use & " " after each cell reference.

Kind regards

Jens Bonde
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
Best STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector

Fri 12 Dec 2014: Automatically marked as resolved.

Excel tip:

Closing Multiple Workbooks quickly

When you have several workbooks open in Excel and want to just close them all at once:

1) Hold down the SHIFT key before selecting the File menu.

2) Once in File menu release SHIFT key and select Close All option.

3) All your files will close. If files require saving Excel will ask if you want to save the changes.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.09 secs.