Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
joe joe is offline
external usenet poster
 
Posts: 62
Default 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   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to capture the Sheet name in a cell SGangs Excel Discussion (Misc queries) 3 December 15th 08 11:38 AM
Extract texts & numbers from one cell into four cells Ed Excel Discussion (Misc queries) 3 January 25th 08 04:57 AM
Excel screen capture to capture cells and row and column headings jayray Excel Discussion (Misc queries) 5 November 2nd 07 11:01 PM
How do I capture a text cell as a value to be able to sum? wallace37 Excel Worksheet Functions 2 October 14th 05 08:23 PM
How to automatically capture a tab name in a cell? billj Excel Worksheet Functions 1 July 19th 05 05:14 PM


All times are GMT +1. The time now is 04:27 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"