In VBA macro code, the macro name appears after the 'Sub' keyword on the first line, like 'Sub MyMacroName()'. The code between 'Sub' and 'End Sub' contains the macro's instructions. The name does not appear in spreadsheet cells - those contain data, not code. This naming convention identifies the macro so it can be called from other code or attached to buttons/events.