xllandscape

  1. B

    Compile error

    Hi all, I keep getting compile error "End With without With" with: Private Sub CommandButton1_Click() With ActiveSheet If OptionButton1.Value = True Then .PageSetup.PrintArea = "$a$1:$z$55" .PageSetup.Orientation = xlLandscape .PageSetup.LeftMargin =...
  2. M

    VBA was working fine. now adding blank pages

    Through this page I received excellent assistance getting a VBA to print the pages from my call schedule. I copy forward each month and make changes and it works great!!!! Until this month when it started adding blank pages. In particular 4 blank pages with the appropriate footer after the...
  3. P

    small adjustment needed for Printing code

    Hi, I have the following code to print pages 1 and 2 of any sheet named with a 4-digit number ... For Each ws In ThisWorkbook.Worksheets If ws.Name Like "#####" Then ws.Range("P22:U22").Font.Color = vbWhite ws.Range("P22:U22").Interior.Color = vbWhite...

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
Back
Top