Home Excel Powerpoint Word Outlook Error Codes

VBA Useful Codes

Welcome to the World of VBA
Home > VBAUsefulCodes

Printing Examples


A sample code to make use of the printing functionality in excel vba macros.

Sub PrintReport1()
Sheets(1).PageSetup.Orientation = xlLandscape
Range("A1").PrintOut Copies:=1
End Sub

Subscribe

Enter your e-mail below and get notified on the latest blog posts.




Tags

VBA Outlook KPI Excel Alt+F11 Dashboards Macros Recording Graphs Automation Developer WaterFall Powerpoint Charts Pivot Tables Forecast Charts


Follow Us