Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 55
Default Apparently Simple Question

I have a lot of experience with Excel and Excel VBA, but I can't figure out
something that should be really simple. How do you go to/create a new line in
a cell? Say you're typing text in a cell, and then you want to make a new
paragraph or put in some bullets IN THE SAME CELL, how is this done?

(I know it can be done by inserting new rows or going to the next cell, but
this is cumbersome and requires constant updating to cell formatting.)
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,327
Default Apparently Simple Question

Hi

Sub Test()
With Sheets(1).Range("A1")
.WrapText = True
.Value = "Hi Mom" & Chr(10) & "This is great" & _
Chr(10) & Chr(10) & "James"
End With
End Sub

Manually it's done with Alt Enter.

HTH. Best wishes Harald

"exceller" skrev i melding
...
I have a lot of experience with Excel and Excel VBA, but I can't figure

out
something that should be really simple. How do you go to/create a new line

in
a cell? Say you're typing text in a cell, and then you want to make a new
paragraph or put in some bullets IN THE SAME CELL, how is this done?

(I know it can be done by inserting new rows or going to the next cell,

but
this is cumbersome and requires constant updating to cell formatting.)



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
MATCH/IF/OR/AND statements not what I need apparently Richard Excel Discussion (Misc queries) 1 September 25th 09 01:49 AM
IF formula-simple question; simple operator Rich D Excel Discussion (Misc queries) 4 December 6th 07 03:36 PM
My needs are simple-apparently, so am I LSUCHEER Excel Worksheet Functions 1 July 29th 05 08:05 PM
Simple Simple Excel usage question BookerW Excel Discussion (Misc queries) 1 June 23rd 05 10:06 PM
simple question, hopefully a simple answer! Matt B Excel Programming 5 January 13th 04 08:43 PM


All times are GMT +1. The time now is 02:27 PM.

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"