How to Fix Alt+Enter Not Inserting a Line Break in Excel on an HP Laptop
Question details
The user wants to insert a line break inside an Excel cell by using Alt+Enter on an HP laptop, but the shortcut is not creating a new line.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- The user is editing a Microsoft Excel workbook on an HP laptop and needs to add multiple lines within a single cell.
- Observed behavior
- Alt+Enter does not insert a new line in the cell; the cell remains on one line or the shortcut is ignored, possibly due to remote access, keyboard handling, or cell formatting.
Before you start, make sure the worksheet is not protected and the column is wide enough to display wrapped text. If you access Excel through Remote Desktop or a virtual machine, open the remote session options so you can verify keyboard shortcut forwarding.
Insert a Line Break Directly with Alt+Enter and Enable Wrap Text
Use this solution when you need the fastest fix and the shortcut is not working because the cell is not in edit mode or Wrap Text is disabled.
For a line break to be visible, Excel must be in edit mode and Wrap Text must be enabled for the cell. If Wrap Text is off, Alt+Enter can still insert the break character, but the second line will not be displayed correctly.
Open the Excel worksheet and double-click the cell where you want the line break, or select the cell and press F2.
Click at the position where the new line should start, then press and hold Alt and press Enter.
Select the cell, go to Home > Alignment, and click Wrap Text so Excel displays the line break as multiple lines.
Click another cell or press Enter to complete the edit and verify the text appears on separate lines.

Use the CHAR(10) Formula to Combine Text on Separate Lines
Use this workaround when the keyboard shortcut is intercepted by remote access or when you prefer a formula-based way to insert line breaks.
Fix Remote Desktop or Keyboard Handling for Alt+Enter
Use this solution when Excel runs through Remote Desktop, a virtual machine, or a keyboard layout that blocks or remaps the shortcut.
Switch to WPS Office Spreadsheets for Reliable Line Breaks and Free Excel Compatibility
If Microsoft Excel continues to ignore Alt+Enter because of remote desktop or keyboard handling, WPS Office Spreadsheets is a free, lightweight alternative that opens and saves .xlsx files, supports Alt+Enter line breaks, and uses a familiar ribbon interface.
- 1. Download WPS Office: Go to the WPS Office download page and install the free Office suite on your HP laptop.
- 2. Open your Excel workbook: Launch WPS Office Spreadsheets and open the .xlsx file you need to edit.
- 3. Insert a line break: Double-click the cell, place the cursor where the new line should start, press Alt+Enter, and enable Wrap Text on the Home tab.

Frequently Asked Questions
Why does Alt+Enter not work in Excel on my HP laptop?
Alt+Enter usually fails because the cell is not in edit mode, Wrap Text is disabled, or a Remote Desktop session is intercepting the shortcut. Double-click the cell or press F2, enable Wrap Text from Home > Alignment, and check remote session keyboard settings.
Can I insert a line break in Excel without using the keyboard shortcut?
Yes. Use the formula =A1&CHAR(10)&B1 to combine text with a line break character. Select the formula cell and enable Wrap Text from Home > Alignment so the line break is visible.
Why do I need to enable Wrap Text for Alt+Enter?
Alt+Enter inserts a line break character, but the cell will only display multiple lines if Wrap Text is enabled. Select the cell, go to Home > Alignment, and click Wrap Text.
How do I fix Alt+Enter when Excel is accessed through Remote Desktop?
Open the Remote Desktop connection settings and make sure keyboard shortcuts are forwarded to the remote computer. You can also test with the Windows On-Screen Keyboard to confirm whether the physical HP laptop keyboard is the cause.
Does WPS Office Spreadsheets support Alt+Enter line breaks?
Yes. In WPS Office Spreadsheets, double-click the cell, press Alt+Enter where you want the line break, and enable Wrap Text. WPS Office also opens and saves Microsoft Excel .xlsx files.




