Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Multiple entries put into string
I have a userform textbox that accepts multiple entries (Multiline = True).
The values of that textbox are then saved into a single cell to be called later. When calling that info and incorporating it into a string, how do I put a comma between the entries that were originally entered? |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Multiple entries put into string
gims289 wrote:
I have a userform textbox that accepts multiple entries (Multiline = True). The values of that textbox are then saved into a single cell to be called later. When calling that info and incorporating it into a string, how do I put a comma between the entries that were originally entered? Try something like MyModifiedString = Replace(Me.TextBox1.Text, vbCrLf, ",") |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Multiple entries put into string
That's what I was looking for. Thanks.
"smartin" wrote: gims289 wrote: I have a userform textbox that accepts multiple entries (Multiline = True). The values of that textbox are then saved into a single cell to be called later. When calling that info and incorporating it into a string, how do I put a comma between the entries that were originally entered? Try something like MyModifiedString = Replace(Me.TextBox1.Text, vbCrLf, ",") |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Multiple entries put into string
On Tue, 11 Aug 2009 15:36:01 -0700, gims289
wrote: I have a userform textbox that accepts multiple entries (Multiline = True). The values of that textbox are then saved into a single cell to be called later. When calling that info and incorporating it into a string, how do I put a comma between the entries that were originally entered? Perhaps, in your code, REPLACE vbLF with ", " --ron |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Need help for multiple entries | Excel Discussion (Misc queries) | |||
Need help for multiple entries | Excel Discussion (Misc queries) | |||
multiple entries / multiple criteria | Excel Discussion (Misc queries) | |||
Combine Multiple Entries with differing amounts of entries | Excel Worksheet Functions | |||
Date and time stamping multiple cells for multiple entries. | Excel Worksheet Functions |