You are on the Home/Excel/Templates/Calendar template page
Google
Web This Site

A calendar template

Create a 12-months-on-one-page calendar for any year between 1900 and 3000 with the starting day-of-week set to any weekday

Or show one-month-per-page.

All the work is done through formulas.  There is no code.

Download the template,