Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I was wondering if there is a way to make multiple lines in a cell using
visual basic. I know that in excel you can press ALT+ENTER and do this, but I cannot figure it out using visual basic. Thanks in advance. Jim |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How about something like this
Cells(1, 1).Value = "first line text" & Chr(10) & "second line text" Paul D "Jim Peterson" wrote in message ... I was wondering if there is a way to make multiple lines in a cell using visual basic. I know that in excel you can press ALT+ENTER and do this, but I cannot figure it out using visual basic. Thanks in advance. Jim |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hit ALT+ENTER
-----Original Message----- How about something like this Cells(1, 1).Value = "first line text" & Chr(10) & "second line text" Paul D "Jim Peterson" wrote in message . .. I was wondering if there is a way to make multiple lines in a cell using visual basic. I know that in excel you can press ALT+ENTER and do this, but I cannot figure it out using visual basic. Thanks in advance. Jim . |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
activecell.Value = "ABCD" & chr(10) & "CDEF"
format the cell to wrap text. -- Regards, Tom Ogilvy Jim Peterson wrote in message ... I was wondering if there is a way to make multiple lines in a cell using visual basic. I know that in excel you can press ALT+ENTER and do this, but I cannot figure it out using visual basic. Thanks in advance. Jim |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
sending multipul e-mail from excel | Excel Discussion (Misc queries) | |||
inserted lines move how to place lines in proper cell? | Excel Worksheet Functions | |||
text in multipul cells | Excel Discussion (Misc queries) | |||
Multipul Filters | Excel Discussion (Misc queries) | |||
Multipul Functions | Excel Worksheet Functions |