Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have 2 worksheets, A and B, and there is a cell "b2" that contains a
drop down list of division names (used data validation list). When each different name on this drop down list is selected the 2 worksheets change to show the results of this specific division. I would like to make a macro that prints these 2 sheets for all the names on this drop down list. Please help Thanks |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Assume the source for the data validation list on a sheet named Data in cells
A1:A10 . further assume the B2 cell with the dropdown list is on a sheet named Dropdown. Adjust to fit your actual situation Sub PrintData() dim cell as Range for each cell in Worksheets("Data").Range("A1:A10") Worksheets("Dropdown").Range("B2").Value = cell worksheets(Array("A","B")).Printout Next End sub -- Regards, Tom Ogilvy " wrote: I have 2 worksheets, A and B, and there is a cell "b2" that contains a drop down list of division names (used data validation list). When each different name on this drop down list is selected the 2 worksheets change to show the results of this specific division. I would like to make a macro that prints these 2 sheets for all the names on this drop down list. Please help Thanks |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks a lot, really appreciate the help!
|
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
List and subtotal selected items, then print separate item list | Excel Worksheet Functions | |||
Macro button to print sheets populated from drop-down list | Excel Discussion (Misc queries) | |||
Help with fairly advanced list/print macro. | Excel Discussion (Misc queries) | |||
macro to print files from a list of links | Excel Discussion (Misc queries) | |||
Macro to change validation list and print | Excel Discussion (Misc queries) |