ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Alt + Enter hotkey - what does this do? (https://www.excelbanter.com/excel-programming/313019-alt-enter-hotkey-what-does-do.html)

R Avery

Alt + Enter hotkey - what does this do?
 
it seems to try close the activeworkbook if it contains data, and create
a new workbook if the activebook is empty.

What does it really do?

Gord Dibben

Alt + Enter hotkey - what does this do?
 
ALT + ENTER is usually used to enter a line-feed in a cell when in edit mode.

BUT.......it does quirky things when used not in Edit mode.

It will repeat the last action taken in most cases.

Close a used workbook......open it again......hit ALT + ENTER and the workbook
will close.

Open a blank workbook then hit ALT + ENTER to keep opening new blank books.

Put a border around a cell. Move to a blank cell and hit ALT + ENTER to get a
border around that blank cell.

Some would call it a bug, others and undocumented feature.

I use it only when editing a cell so's I don't get unexpected things
happening.

Gord Dibben Excel MVP

On Fri, 08 Oct 2004 18:15:47 -0400, R Avery wrote:

it seems to try close the activeworkbook if it contains data, and create
a new workbook if the activebook is empty.

What does it really do?



R Avery

Alt + Enter hotkey - what does this do?
 
Interesting...


Gord Dibben wrote:
ALT + ENTER is usually used to enter a line-feed in a cell when in edit mode.

BUT.......it does quirky things when used not in Edit mode.

It will repeat the last action taken in most cases.

Close a used workbook......open it again......hit ALT + ENTER and the workbook
will close.

Open a blank workbook then hit ALT + ENTER to keep opening new blank books.

Put a border around a cell. Move to a blank cell and hit ALT + ENTER to get a
border around that blank cell.

Some would call it a bug, others and undocumented feature.

I use it only when editing a cell so's I don't get unexpected things
happening.

Gord Dibben Excel MVP

On Fri, 08 Oct 2004 18:15:47 -0400, R Avery wrote:


it seems to try close the activeworkbook if it contains data, and create
a new workbook if the activebook is empty.

What does it really do?





All times are GMT +1. The time now is 02:53 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com