Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
AK AK is offline
external usenet poster
 
Posts: 56
Default 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



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default 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





  #3   Report Post  
Posted to microsoft.public.excel.programming
AK AK is offline
external usenet poster
 
Posts: 56
Default 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






  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default 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








  #5   Report Post  
Posted to microsoft.public.excel.programming
AK AK is offline
external usenet poster
 
Posts: 56
Default 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











Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
LOOPING multiple ranges Jase Excel Discussion (Misc queries) 1 April 7th 08 06:21 PM
Break one rpt into multiple rpts break one rpt into multiple rpts Excel Discussion (Misc queries) 4 November 9th 07 10:44 PM
strange printing/looping problem Omar78 Excel Programming 5 June 7th 04 05:39 PM
multiple looping criteria hotherps[_62_] Excel Programming 2 May 30th 04 12:57 AM
Looping through multiple controls rci Excel Programming 2 March 4th 04 08:43 PM


All times are GMT +1. The time now is 04:53 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"