Multiple prints

lapta301

Well-known Member
Joined
Nov 12, 2004
Messages
1,001
Office Version
  1. 365
Platform
  1. Windows
I have a Data Validation list in C3 which at present has the acceptable values of 0, 16 & 24 although these could change.

What I would like is a macro that would go through and select each of the acceptable values and then print the page.

Each value changes the calculations on the page.

As ever your help is most appreciated.
 
Hi good to hear from you. Linked to B13 I have a data validation range from H2:J2 with dates that are formatted like 01/12/20
So as before based on B13 in this instance I would like 3 prints for each of the date values.
Similar to your earlier code just dates rather than text.
 
Upvote 0

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Linked to B13 I have a data validation range from H2:J2

Try this:

VBA Code:
Sub MultiplePrints()
  Dim c As Variant
  With Range("B13")
    For Each c In Range(.Validation.Formula1)
      .Value = c
      ActiveSheet.PrintOut
    Next
  End With
End Sub
 
Upvote 0

Forum statistics

Threads
1,214,827
Messages
6,121,818
Members
449,049
Latest member
cybersurfer5000

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