Capturing the Keystrokes(Actions) into Excel sheet when we Record.

I would like to know if I can write the captured Keystrokes (Actions) into an Excel sheet when I Record.