edit directly in cell

  • Thread starter Thread starter tracktraining
  • Start date Start date
T

tracktraining

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
 
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
 
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  

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
 
Hi,

Set it in the workbook open event

Private Sub Workbook_Open()
Application.EditDirectlyInCell = True

or

Application.EditDirectlyInCell = False
End Sub


Mike
 
thanks mike, bob, and matt!
--
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
 
Back
Top