Skip to content

Instantly share code, notes, and snippets.

@DuongAQ
Created April 2, 2018 03:03
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/82cd39402b9a1f8c9ae560b93370e7cb to your computer and use it in GitHub Desktop.
Save DuongAQ/82cd39402b9a1f8c9ae560b93370e7cb to your computer and use it in GitHub Desktop.
Sub PrintArea_Test01() 'Thiết lập vùng in từ B2:G100 tại Sheet1
Sheet1.PageSetup.PrintArea = Sheet1.Range("B2:G100").Address
End Sub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment