Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() What is the Chr() code for the combination Alt+Enter in a cell when entering text? Would this work in VBA? "Line 1 " & Chr(xxx) & Chr(xxx) & "Line 2 " Yields: Line 1 Line 2 |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Try
"Line1" & vbcrlf & "Line2" for one line space or "Line1" & vbcrlf & vbcrlf & "Line2" and so on, Regards, Alan. "Dennis" wrote in message ... What is the Chr() code for the combination Alt+Enter in a cell when entering text? Would this work in VBA? "Line 1 " & Chr(xxx) & Chr(xxx) & "Line 2 " Yields: Line 1 Line 2 |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks!
"Alan" wrote: Try "Line1" & vbcrlf & "Line2" for one line space or "Line1" & vbcrlf & vbcrlf & "Line2" and so on, Regards, Alan. "Dennis" wrote in message .. . What is the Chr() code for the combination Alt+Enter in a cell when entering text? Would this work in VBA? "Line 1 " & Chr(xxx) & Chr(xxx) & "Line 2 " Yields: Line 1 Line 2 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Hit enter in cell & move text down in cell, not go to cell below. | Excel Worksheet Functions | |||
Code to get text from part of a cell | Excel Worksheet Functions | |||
Urgent date/scheduling calc needed | Excel Worksheet Functions | |||
for the experts | Excel Discussion (Misc queries) | |||
Text in formula bar is not displaying in cell | Excel Discussion (Misc queries) |