ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Printing multiple rpts via Looping (https://www.excelbanter.com/excel-programming/347536-printing-multiple-rpts-via-looping.html)

AK

Printing multiple rpts via Looping
 
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




Tom Ogilvy

Printing multiple rpts via Looping
 
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?

--
Regards,
Tom Ogilvy

"AK" wrote in message
...
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






AK

Printing multiple rpts via Looping
 
Dropdown via a named range on a different worksheet

"Tom Ogilvy" wrote:

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?

--
Regards,
Tom Ogilvy

"AK" wrote in message
...
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







Tom Ogilvy

Printing multiple rpts via Looping
 
for each cell in Range("NamedRangeName")
Range("A1").Value = cell.Value
' print sheet
Next

--
Regards,
Tom Ogilvy


"AK" wrote in message
...
Dropdown via a named range on a different worksheet

"Tom Ogilvy" wrote:

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?

--
Regards,
Tom Ogilvy

"AK" wrote in message
...
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









AK

Printing multiple rpts via Looping
 
thanks tom

works great...

"Tom Ogilvy" wrote:

for each cell in Range("NamedRangeName")
Range("A1").Value = cell.Value
' print sheet
Next

--
Regards,
Tom Ogilvy


"AK" wrote in message
...
Dropdown via a named range on a different worksheet

"Tom Ogilvy" wrote:

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?

--
Regards,
Tom Ogilvy

"AK" wrote in message
...
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











All times are GMT +1. The time now is 01:19 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com