VBA runs in a standard window, so you record it like any PC app.
If you mean "record the game logic": comment your VBA (Visual Basic for Applications) or GBA assembly source code. Use a debugger (no$gba, mgba) to log register/RAM changes during execution.