Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-06-2018, 04:10 AM
NoSparks NoSparks is offline Adding another macro in the macro list Windows 7 64bit Adding another macro in the macro list Office 2010 64bit
Excel Hobbyist
 
Join Date: Nov 2013
Location: British Columbia, Canada
Posts: 842
NoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of light
Default

In those macros, the code that removes the color are
Code:
Cells.Interior.ColorIndex = 0
and
Code:
Cells.Interior.ColorIndex = xlNone
Use the macro recorder to record yourself printing the sheet.
Add one of those lines at the beginning of the recorded macro and print via the macro.
Reply With Quote
  #2  
Old 11-07-2018, 04:13 AM
Marcia's Avatar
Marcia Marcia is offline Adding another macro in the macro list Windows 7 32bit Adding another macro in the macro list Office 2007
Expert
Adding another macro in the macro list
 
Join Date: May 2018
Location: Philippines
Posts: 553
Marcia has a spectacular aura aboutMarcia has a spectacular aura aboutMarcia has a spectacular aura about
Default

Thank you. I will try this tomorrow, I hope I will get the instructions right.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding a function to this macro: JohnGanymede Excel Programming 6 12-22-2017 02:57 PM
Adding another macro in the macro list Adding to a macro Ulodesk Word VBA 4 03-07-2016 01:40 PM
Adding another macro in the macro list VBA Code for adding Macro to QAT OTPM Project 4 08-22-2013 01:33 PM
Adding another macro in the macro list Adding macro to normal.dotm programmatically etippelt Word VBA 6 04-08-2013 05:55 PM
Macro for automatically adding filename without .doc RPM7 Word VBA 0 04-29-2010 01:43 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:26 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft