Excel VBA Basics #31 Send Sheets Straight to Printer using PrintOut Method

Поділитися
Вставка
  • Опубліковано 17 тра 2013
  • 📊 Free Workbooks: www.excelvbaisfun.com/links?u...
    🥷Join Excel Ninja Pro: www.excelvbaisfun.com/ninjapr... Months FREE On Annual Plan Auto Applied)
    🥷Excel Ninjas FB Group: www.excelvbaisfun.com/xlninjas (Free downloads, Trainings, Live Q&A and more)
    Rather than triggering a print preview, sometimes you'll just want your report or sheet to go straight to the printer. With this trick, you can set it up on a worksheet, userform or in your actual report code, but you can send how many copies of whatever you want straight to the printer without any extra unnecessary clicks. Check it out!!
    Fantastic Developer Tools:
    🔒 Transform Any Excel File Into A Locked EXE: www.excelvbaisfun.com/secure-... (25% off with code ‘25OFF’)
    🟡 Create Custom Installers: www.excelvbaisfun.com/custom-...
    👋 Business Inquiries, Consulting, Comments, etc: www.excelvbaisfun.com/contact/

КОМЕНТАРІ • 26

  • @vicsar
    @vicsar 11 років тому +6

    Here is a sample for those of you who might be interested.
    Sub iActiveSheet_Print()
    ' First choose a printer
    Application.Dialogs(xlDialogPrinterSetup).Show
    ' Make final arrangements and setup
    ActiveSheet.PrintPreview
    ' Print like there is no tomorrow
    ActiveSheet.PrintOut
    End Sub

  • @saroruipinoyofw2587
    @saroruipinoyofw2587 10 років тому +2

    .... i want to share you can also press in the keyboard if you lock up.

  • @AhmedMohamed-vm2ob

    Can I create a button to print external pdf file on desktop or I can't?

  • @excelisfun
    @excelisfun 11 років тому

    Thanks for all your amazing videos!

  • @yusufsmile9770
    @yusufsmile9770 9 років тому

    Thanks for the lesson...you make it easy to understand...

  • @pr1nyc1
    @pr1nyc1 8 років тому +1

    Hello Dan, thank you for your videos. I want to use this feature to print a worksheet to PDF, without having to change the printer selected to "Adobe PDF". Is there a way to do that using VBA?

  • @BernadetteCalado
    @BernadetteCalado 10 років тому

    awesome VBA trick.

  • @ExcelVbaIsFun
    @ExcelVbaIsFun  10 років тому +1

    Merry Christmas everyone. I hope God blesses you richly this upcoming year. Remember, you ARE a success!! Believe it, be it! Blessings my friends!! Dan

  • @ExcelVbaIsFun
    @ExcelVbaIsFun  11 років тому +1

    Victor, thank you!! Great tips! Dan

  • @johnweidner6981
    @johnweidner6981 3 роки тому

    Can I create a VBA that you can print to certain printer? But also Print copies based off of a cell value

  • @ObuL83g
    @ObuL83g 8 років тому

    That's a nice piece of code you got there! Problem is, I lose comma decimal separator after .PrintOut Preview.=TrueWhen i set to False, everything is Ok. After nearly 3 years still searching for solution, and solution isn't Application.UseSystemSeparators=False ....

  • @wayneaskey
    @wayneaskey 10 років тому +1

    Super videos, so very useful, thanks

  • @krn14242
    @krn14242 11 років тому

    Good job, enjoyed all the troubleshooting. Nothing ever works perfect the first time and you show how to resolve stuff. Hope you get the printer working. Funny, where did you get the print out idea? Hmmm? :)

  • @saroruipinoyofw2587
    @saroruipinoyofw2587 10 років тому +1

    instead of going in the task manager and ending the application... in this way you will not loose unsave file.

  • @janeiro301
    @janeiro301 28 днів тому

    ward print buttom excel

  • @dereklauder7
    @dereklauder7 2 роки тому

    Ctrl break will drop the macro

  • @ChristophKleine
    @ChristophKleine 8 років тому +3

    Am I the only who was freaked out by the use of "Sheet1.Printout. .." instead of the declared "ssheet"? :)

  • @sharrongavin
    @sharrongavin 8 років тому +3

    Dam that was a mess !!!

  • @FanoelGutierrez
    @FanoelGutierrez 9 років тому +1

    Hey Dan, thanks for the Great Videos. I did the same think you're doing in this video. and I don't have problems with the code. my code read has follow: