Program "Enter" Key

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How can you program the "ENTER" key to enter a new line in an Excel Cell?
 
Try this:

While editing a cell....hold down the [alt] key and press [enter].

That will insert a new line in the cell.

Does that help?
***********
Regards,
Ron

XL2002, WinXP
 
Merlin said:
How can you program the "ENTER" key to enter a new line in an Excel Cell?

Hold down the Alt key when you press enter for a new line when editing the
cell(if that's what you were asking). No idea how you'd be able to this just
by pressing Enter though. Stick the Alt key down with glue maybe? :)
 
In Excel itself, use Alt+Enter.
In VBA use Chr(10) like: Cells(1, 1) = "AA" & Chr(10) & "BB"

--
Best regards,
---
Yongjun CHEN
=================================
XLDataSoft - Data Analysis Expert, Excel/VBA Specialist
- - - - www.XLDataSoft.com - - - -
Free Excel-Based Data Processing Tool is Available for Download
Free Excel / VBA Training Materials is Available for Download
=================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top