How to Change Orientation of Worksheet to Landscape in Excel

Method 1 – Applying Landscape Command to Change Orientation of Excel Worksheet

Steps:

  • Go to the Page Layout tab.
  • From the Page Setup group, click on the drop-down arrow of the Orientation command.
  • Select the Landscape option.

Using Landscape Command from Page Layout Tab to Change the Orientation of the Worksheet to Landscape

  • Your dataset orientation will change from Portrait to Landscape.

Read More: How to Change Page Orientation in Excel


Method 2 – Using Page Setup Dialog Box to Change Worksheet Orientation to Landscape

Steps:

  • Go to the Page Layout tab.
  • From the Page Setup group, click on the Page Setup dialog box launcher.

Launching the Page Setup dialog box

  • A small dialog box named the Page Setup will appear.
  • In the Page Tab, choose the Landscape option in the Orientation section.
  • Click OK.

Change Orientation from Page Setup Dialog Box

  • The dataset orientation will change from Portrait to Landscape.

Method 3 – Changing Orientation of Multiple Excel Worksheets to Landscape

Steps:

  • Select multiple sheets in your workbook. To select all sheets, right-click on the sheet name from the Sheet Name Bar and choose the Select All Sheets option.

  • If you don’t need to select all the sheets, wild press the ‘Ctrl’ key and click on your required sheet to select the worksheet.
  • Go to the Page Layout tab.
  • From the Page Setup group, click on the drop-down arrow of the Orientation command and select the Landscape option.

Choosing the Landscape option to change the orientation of both sheets

  • The orientation of all selected sheets will change from Portrait to Landscape.

Changing Orientation of Multiple Worksheets

 


Method 4 – Changing Excel Worksheet to Landscape Orientation While Printing

Steps:

  • Click on the File > Print You can also press ‘Ctrl+P’ to launch the print dialog box.

  • You will see a preview of your dataset.
  • Click on the drop-down of the Portrait Orientation option and choose Landscape Orientation.

Preview of dataset in the print area

  • The orientation will change from Portrait to Landscape and it will be also displayed on the print preview.

Change the Orientation of the Worksheet to Landscape at the Time of Printing

 


Method 5 – Applying VBA Macro to Change Worksheet Orientation to Landscape

Steps:

  • Go to the Developer tab and click on Visual Basic. If you don’t have that, you have to enable the Developer tab. Or You can also press ‘Alt+F11’ for opening the Visual Basic Editor.

Launching VBA editor box to write a VBA code to change the worksheet orientation

  • A dialog box will open.
  • In the Insert tab, click the Module option.

Inserting a new module

  • Enter the following visual code in that empty editor box.

Sub Oriente_to_Landscape()
With Worksheets("Data1")
 .PageSetup.Orientation = xlLandscape
End With
End Sub
  • Press ‘Ctrl+S’ to save the code.
  • Close the Editor.
  • In the Developer tab, click on Macros from the Code group.

Opening macros dialog box to change the worksheet orientation

  • A small dialog box titled Macro will appear.
  • Select the Oriente_to_Landscape option and click the Run button to run the code.

  • Press ‘Ctrl+P’ to open the print preview.
  • The orientation of the dataset will change from Portrait to Landscape and it will be also displayed on the print preview.

Change the Orientation of the Worksheet to Landscape with VBA

 


Download Practice Workbook


 

Related Articles


<< Go Back to Page Setup in Excel | Print in Excel | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Kawser Ahmed
Kawser Ahmed

Kawser Ahmed is a Microsoft Excel Expert, Udemy Course Instructor, Data Analyst, Finance professional, and Chief Editor of ExcelDemy. He is the founder and CEO of SOFTEKO (a software and content marketing company). He has a B.Sc in Electrical and Electronics Engineering. As a Udemy instructor, he offers 8 acclaimed Excel courses, one selected for Udemy Business. A devoted MS Excel enthusiast, Kawser has contributed over 200 articles and reviewed thousands more. His expertise extends to Data Analysis,... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo