If you need to set a custom type number format (using Format cell dialog) and enter some additional text in Type TextBox and press Enter key, the changes are not applied. Steps to reproduce: 1. Insert some time in a cell in spreadsheet (22:20) 2. Apply it a custom format that contains AM/PM (e.g. "h:mm AM/PM") and press Enter key Observed: The AM/PM format is missing Expected: AM or PM should be shown after the time Workaround: Press OK button or first click somewhere else in order to change the focus