Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Capture texts in one cell
Hi,
Is it possible to actually capture more than one text in one cell using VBA? if yes how to go about it?. example, within a cell, i have Daily b Daily r please advise. regards, Joe |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Capture texts in one cell
As far as I know you can only get out the entire content
of the cell. However, once you have that you can use f.i. the Split function to get different parts of the string if you have some unique character(s) to split on. ojv -----Original Message----- Hi, Is it possible to actually capture more than one text in one cell using VBA? if yes how to go about it?. example, within a cell, i have Daily b Daily r please advise. regards, Joe . |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Capture texts in one cell
"Joe" wrote in message ... Hi, Is it possible to actually capture more than one text in one cell using VBA? if yes how to go about it?. example, within a cell, i have Daily b Daily r why would you want to do this? If it is just for presentation, then pushing Alt+Enter while typing in a cell will allow you to insert a carriage return in the text. If you want the functionality of a layout like: A B C Daily b | Stuff | More 1 ----- | | Daily r | Here | Text then you can't split a cell into two. What you can do is merge all the cells to the right together by column (select a top-bottom pair (i.e. B1 and B2), format-cells-alignment : merge cells. this will give you: A B C 1 Daily b | Stuff | More ---------------- 2 Daily r | Here | Text Iain King |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to capture the Sheet name in a cell | Excel Discussion (Misc queries) | |||
Extract texts & numbers from one cell into four cells | Excel Discussion (Misc queries) | |||
Excel screen capture to capture cells and row and column headings | Excel Discussion (Misc queries) | |||
How do I capture a text cell as a value to be able to sum? | Excel Worksheet Functions | |||
How to automatically capture a tab name in a cell? | Excel Worksheet Functions |