Some keystrokes in excel don't work

Hi, I need to perform 3 actions in an open excel but only the first keystrokes work the rest 2 actions are not performed and the excel window keeps blinking
My actions in the sequence are:

  1. Enter keystrokes 'Ctrl + g"
  2. Enter text: a2
  3. Press Enter key

@chloe_zhaoatUp you need to switch to the new window after pressing Ctrl+G or enable the setting to work without switching to windows. You can read more in this topic