Send me your file and tell me your excel version. I’ll look a bit later. When you say give the user an option to print. What do you mean. Be VERY specific. What I did will should do it for each sheet in the file when it is printed.
Don Guillett Microsoft MVP Excel SalesAid Software dguille...@gmail.com From: Sunny Kapoor Sent: Monday, May 14, 2012 10:23 AM To: excel-macros@googlegroups.com Subject: $$Excel-Macros$$ Re: Printing sheets in colour using VBA in ecel Hello Don, Thanks for the reply. Actually, i ned to give the user an option to print the sheet if he/she wants. Also, the command ou provided does not work. The print out is still not coloured. let me know if you could suggest something else... Sunny On Monday, 14 May 2012 16:56:25 UTC+2, Sunny Kapoor wrote: Hi Guys, I am trting to print sheets in colour using VBA. I am using the following code... ________________________________________ Sub Print_sheet() With ActiveSheet .PageSetup.BlackAndWhite = False .PrintOut Copies:=1, Collate:=True End With End Sub __________________________________________ I have put Buttons on each sheet and assigned this macro to every button. The problem is that for some sheets, the macro prints the sheets in colour while for some others, it prints them in Black & White. Ant help would be appreciated... Cheers, Sunny -- FORUM RULES (986+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ------------------------------------------------------------------------------------------------------ To post to this group, send email to excel-macros@googlegroups.com -- FORUM RULES (986+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ------------------------------------------------------------------------------------------------------ To post to this group, send email to excel-macros@googlegroups.com