ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Can macro return me to cell edit mode (https://www.excelbanter.com/excel-programming/398015-can-macro-return-me-cell-edit-mode.html)

Khaled

Can macro return me to cell edit mode
 
Can a macro after it runs return me to a cell in edit mode?
I made "rong entry of cell" runs a macro deponds on a cell that is
calculated (i used calculate event) and i don't want to delete the cell
contents but just edit in it instead of writing the whole entry agian
If i don't delete the entry in the biginning of macro it runs continously
until i break it
thanks

Barb Reinhardt

Can macro return me to cell edit mode
 
Please post your code.
--
HTH,
Barb Reinhardt



"Khaled" wrote:

Can a macro after it runs return me to a cell in edit mode?
I made "rong entry of cell" runs a macro deponds on a cell that is
calculated (i used calculate event) and i don't want to delete the cell
contents but just edit in it instead of writing the whole entry agian
If i don't delete the entry in the biginning of macro it runs continously
until i break it
thanks


Zone[_3_]

Can macro return me to cell edit mode
 
You can put this in before your End Sub statement, but realize you won't be
able to run any code while you're in edit mode. James

SendKeys "{F2}"

"Khaled" wrote in message
...
Can a macro after it runs return me to a cell in edit mode?
I made "rong entry of cell" runs a macro deponds on a cell that is
calculated (i used calculate event) and i don't want to delete the cell
contents but just edit in it instead of writing the whole entry agian
If i don't delete the entry in the biginning of macro it runs continously
until i break it
thanks




Khaled

Can macro return me to cell edit mode
 
Thank you very
simple and right answer but great thanks

"Zone" wrote:

You can put this in before your End Sub statement, but realize you won't be
able to run any code while you're in edit mode. James

SendKeys "{F2}"

"Khaled" wrote in message
...
Can a macro after it runs return me to a cell in edit mode?
I made "rong entry of cell" runs a macro deponds on a cell that is
calculated (i used calculate event) and i don't want to delete the cell
contents but just edit in it instead of writing the whole entry agian
If i don't delete the entry in the biginning of macro it runs continously
until i break it
thanks






All times are GMT +1. The time now is 03:35 AM.

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