vba print string variable

  1. C

    Close Acrobat After Printing with VBA

    I am needing to print multiple pdf files by file name that is in a list. These files will be in the same folder as the excel file. For example MMR1234, MMR1235, MMR1236 and stop on next blank cell. Then I am needing it to close Acrobat after printing.
  2. caritx

    printing using vba

    I have an excel file with the following data in multiple tabs. This changes daily and i print it every morning. What I normally do is I add filters filter by column A to show one group Highlight the last row Bold then print I repeat this process for as many groups and tabs as I have. The...
  3. selant

    How to print out variables in VBA

    Hi, I want to print out some text from my form but it doesnt seem to work. Here is the code : Private Sub CommandButton2_Click() Dim rapor As String rapor = "Hello World" rapor.PrintOut Copies:=1, Collate:=True MsgBox (rapor) End Sub I dont know if this is the...

Watch MrExcel Video

This Week's Hot Topics

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top