Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default print macro for a list

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default print macro for a list

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default print macro for a list

Thanks a lot, really appreciate the help!

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
List and subtotal selected items, then print separate item list TitanG Excel Worksheet Functions 0 September 8th 08 09:07 PM
Macro button to print sheets populated from drop-down list AB3 Excel Discussion (Misc queries) 7 July 11th 08 01:03 AM
Help with fairly advanced list/print macro. Olle Svensson Excel Discussion (Misc queries) 4 November 15th 06 02:19 PM
macro to print files from a list of links jim9912 Excel Discussion (Misc queries) 7 April 25th 06 05:43 PM
Macro to change validation list and print Andy Excel Discussion (Misc queries) 1 September 19th 05 01:42 PM


All times are GMT +1. The time now is 12:39 PM.

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"