ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   edit directly in cell (https://www.excelbanter.com/excel-programming/424462-edit-directly-cell.html)

tracktraining

edit directly in cell
 
Hi All,

My coworker just tested my file and it didn't work. I soon realized that the
"edit directly in cell" option was check. So, after unchecking the option,
and the coworker double click on the cell, the userform appears and set the
userform to be active.

is there a way to have the "edit directly in cell" uncheck for certain excel
files and check for others without manually having to go to tools/options
everytime?

thanks,
tracktraining
--
Learning

Bob Umlas[_3_]

edit directly in cell
 
For those files, Assign this macro to the workbook_open event:
Alt/F11, Ctrl/R, doubkle-click "ThisWorkbook", put in this code:

Private Sub Workbook_Open()
Application.EditDirectlyInCell = False
End Sub


"tracktraining" wrote in message
...
Hi All,

My coworker just tested my file and it didn't work. I soon realized that
the
"edit directly in cell" option was check. So, after unchecking the option,
and the coworker double click on the cell, the userform appears and set
the
userform to be active.

is there a way to have the "edit directly in cell" uncheck for certain
excel
files and check for others without manually having to go to tools/options
everytime?

thanks,
tracktraining
--
Learning




[email protected]

edit directly in cell
 
On Feb 20, 12:09*pm, tracktraining
wrote:
Hi All,

My coworker just tested my file and it didn't work. I soon realized that the
"edit directly in cell" option was check. So, after unchecking the option,
and the coworker double click on the cell, the userform appears and set the
userform to be active.

is there a way to have the "edit directly in cell" uncheck for certain excel
files and check for others without manually having to go to tools/options
everytime?

thanks,
tracktraining *
--
Learning


TrackTraining,

This option is the following code in VBA:

Application.EditDirectlyInCell = True (or False)

Look into writing this into a Workbook event (Activate/Deactivate).

Matt

Mike H

edit directly in cell
 
Hi,

Set it in the workbook open event

Private Sub Workbook_Open()
Application.EditDirectlyInCell = True

or

Application.EditDirectlyInCell = False
End Sub


Mike
"tracktraining" wrote:

Hi All,

My coworker just tested my file and it didn't work. I soon realized that the
"edit directly in cell" option was check. So, after unchecking the option,
and the coworker double click on the cell, the userform appears and set the
userform to be active.

is there a way to have the "edit directly in cell" uncheck for certain excel
files and check for others without manually having to go to tools/options
everytime?

thanks,
tracktraining
--
Learning


tracktraining

edit directly in cell
 
thanks mike, bob, and matt!
--
Learning


" wrote:

On Feb 20, 12:09 pm, tracktraining
wrote:
Hi All,

My coworker just tested my file and it didn't work. I soon realized that the
"edit directly in cell" option was check. So, after unchecking the option,
and the coworker double click on the cell, the userform appears and set the
userform to be active.

is there a way to have the "edit directly in cell" uncheck for certain excel
files and check for others without manually having to go to tools/options
everytime?

thanks,
tracktraining
--
Learning


TrackTraining,

This option is the following code in VBA:

Application.EditDirectlyInCell = True (or False)

Look into writing this into a Workbook event (Activate/Deactivate).

Matt



All times are GMT +1. The time now is 01:11 PM.

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