Results 1 to 2 of 2

Thread: Printing

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jun 2000
    Posts
    23

    Wink

    How do I print in Excel using VBa only the cells that contain data?

    Steve
    Stephen Warker

  2. #2
    Addicted Member
    Join Date
    Jan 2000
    Location
    Fresno, California, USA
    Posts
    195
    Use this:

    Worksheets("Sheet1").PageSetup.PrintArea = "$A$1:$C$5"
    Worksheets("Sheet1").Printout

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width