ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Leave live cursor in a cell? (https://www.excelbanter.com/excel-programming/363230-leave-live-cursor-cell.html)

[email protected]

Leave live cursor in a cell?
 
I want to create some macros that will enter characters in a cell and
leave the active cursor in the cell after those characters are entered.

I want the macro to perform the same way as the custom toolbar charcter
insert buttons for +, *, =. This will allow me to use the macro when
building formulas.

The part I can't figure out is how to leave the cursor active
(blinking) in the cell after the character is entered. For example, I
would like to have macros for entering the " and &.

Thanks for any advice.


Tim Williams

Leave live cursor in a cell?
 
VBA does not run when cells are in edit mode...
....and in any case why would you want a macro for entering & ?
Tim

wrote in message ups.com...
I want to create some macros that will enter characters in a cell and
leave the active cursor in the cell after those characters are entered.

I want the macro to perform the same way as the custom toolbar charcter
insert buttons for +, *, =. This will allow me to use the macro when
building formulas.

The part I can't figure out is how to leave the cursor active
(blinking) in the cell after the character is entered. For example, I
would like to have macros for entering the " and &.

Thanks for any advice.




[email protected]

Leave live cursor in a cell?
 
Microsoft includes toolbar buttons for +, -, /,= which at times I use
to build formulas by just clicking on them. I want to add to these and
the quotes sign " and & are used a lot when concatenating in a formula.

Tim Williams wrote:
VBA does not run when cells are in edit mode...
...and in any case why would you want a macro for entering & ?
Tim

wrote in message ups.com...
I want to create some macros that will enter characters in a cell and
leave the active cursor in the cell after those characters are entered.

I want the macro to perform the same way as the custom toolbar charcter
insert buttons for +, *, =. This will allow me to use the macro when
building formulas.

The part I can't figure out is how to leave the cursor active
(blinking) in the cell after the character is entered. For example, I
would like to have macros for entering the " and &.

Thanks for any advice.




All times are GMT +1. The time now is 01:14 AM.

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