Skip to content

Instantly share code, notes, and snippets.

@DuongAQ
Last active April 2, 2018 03:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DuongAQ/021dc3643f27d76f269f5c1e8dbf6c52 to your computer and use it in GitHub Desktop.
Save DuongAQ/021dc3643f27d76f269f5c1e8dbf6c52 to your computer and use it in GitHub Desktop.
Sub PrintArea_Test02() 'Thiết lập vùng in tới dòng cuối
Sheet1.PageSetup.PrintArea = Sheet1.Range("B2", Sheet1.Range("G65536").End(xlUp)).Address
End Sub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment