Printing multiple rpts via Looping

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a single worksheet with various charts with the data for those charts
based on a selection made in a cell (A1). In A1, data validation was used to
control the input of that cell, the list is limited to 20 items.

This works great if one wants pick and choose selections from the drop down,
and then print out a specific rpt based on a specific selection in A1.

Anyone have a recommendation on how to go about automatically looping
through the list and print out a rpt for each? So selecting item1 would
print the item1 report, then item 2 would be selected and printed, and so on.

Thanks
 
How do you load the dropdown? From a range or directly type in the values
as a comma separated list. If a range, is it on the same sheet?
 
for each cell in Range("NamedRangeName")
Range("A1").Value = cell.Value
' print sheet
Next
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top