Type into new first name in outlook close the window

hey,
im trying to add new contacts to outlook
but after i do typeinto the first name,
The new contact windowsclose and it save new contact just with first name
How can I figure it out?

@Lora12

Check if you are passing any enter key after entering the first name. You can share your code screenshot to analyze the root cause.

Hi @Lora12

This usually happens because Outlook is receiving an Enter or losing focus after typing the First Name.
Check that your Type Into is not sending Enter/Tab, try disabling SimulateType/SendWindowMessages, and add a small delay after opening the New Contact window.

This usually happens because of a bug or a faulty Outlook add-in. Try starting Outlook in Safe Mode (outlook.exe /safe) if the problem stops, then one of your add-ins is causing the contact window to close automatically. You can fix it by going to File → Options → Add-ins, disabling all add-ins, then enabling them one by one to find the bad one. If that doesn’t help, updating Office or doing a Quick Repair often fixes this kind of issue.