Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / November 2007

Tip: Looking for answers? Try searching our database.

How can I create a single paragraph from standard statements?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Chris Mitchell - 21 Nov 2007 06:49 GMT
I have several text statements, each within its own cell, A1:A10

I want novice users to be able to pick and mix one or more of these, string
them together in any order, e.g. A2, A5, A1, in another cell (A15), then
edit that cell to link the statements into a single grammatically correct
paragraph.

Is this possible?

If Y how?

TIA

Chris.
Pete_UK - 21 Nov 2007 09:24 GMT
If each statement is a sentence in its own right, then you could do
this;

=A2&". "&A5&". "&A10&"."

Or, if you already have the full stop within the text:

=A2&" "&A5&" "&A10

Hope this helps.

Pete

On Nov 21, 6:49 am, "Chris Mitchell"
<chris.a.mitch...@NOSPAMbtinternet.com> wrote:
> I have several text statements, each within its own cell, A1:A10
>
[quoted text clipped - 10 lines]
>
> Chris.
Chris Mitchell - 21 Nov 2007 10:00 GMT
Thanks Pete.

I was aware of this, but I need something for novice users who have no
knowledge of this, and no inclination to learn it.

I was thinking something along the lines of a list from which users could
select as many statements as required, in the order they wanted them, then
some minor tweaking to make it into a grammatically correct paragraph.

I'm probably expecting too much, but you never know someone might know how.

> If each statement is a sentence in its own right, then you could do
> this;
[quoted text clipped - 26 lines]
>>
>> Chris.
MartinW - 21 Nov 2007 10:54 GMT
Hi Chris,

You could maybe label each statement like aaa, bbb, ccc etc.
Then set the auto correct, replace text as you type options like

aaa        The quick brown
bbb        fox jumps over
ccc         the lazy dog

then aaa bbb ccc in a cell would return
The quick brown fox jumps over the lazy dog

I'm not sure but I think each replace box
should take up to 255 characters.

HTH
Martin

> Thanks Pete.
>
[quoted text clipped - 39 lines]
>>>
>>> Chris.
Gord Dibben - 21 Nov 2007 16:43 GMT
Chris

Can your users follow instructions and click on cells in the order they wish?

They can run this macro and select the cells in the order which gives them a
sentence, but not necessarily grammatically correct.

Sub ConCat_Cells()
Dim x As Range
Dim y As Range
Dim z As Range
Dim w As String
Dim sbuf As String
   On Error GoTo endit
   w = " "
   Set z = Application.InputBox("Select Destination Cell", _
           "Destination Cell", , , , , , 8)
   Application.SendKeys "+{F8}"
   Set x = Application.InputBox("Select Cells, Contiguous or Non-Contiguous", _
           "Cells Selection", , , , , , 8)
   For Each y In x
   If Len(y.Text) > 0 Then sbuf = sbuf & y.Text & w
   Next
   z = Left(sbuf, Len(sbuf) - Len(w))
   Exit Sub
endit:
   MsgBox "Nothing Selected.  Please try again."
End Sub

Gord Dibben  MS Excel MVP

>Thanks Pete.
>
[quoted text clipped - 37 lines]
>>>
>>> Chris.

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.