The shortcut Ctrl+P is to display the Print dialog box, please also refer to the shortcut Ctrl+F2.
Step 1: Click anywhere in the worksheet;
Step 2: Click and hold the Ctrl key, then press the letter P key from the keyboard. This is to display the Print view.
Check More Excel Shortcuts