I have the below code on click of a button in a form. To go to read mode and do a selectall and copy. If uidoc.EditMode = True Then uidoc.EditMode = False End If Call uidoc.SelectAll Call uidoc.Copy Call uidoc.DeselectAll But every time it reaches uidoc.selectall it crashes. It works fine if I don't have any value in editable fields. Can somebody help.