Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 176
Default Copy worksheet colors to every open sheet

I'm trying to code a macro that will be located in a template sheet that I
have, color_template.xls. What I'm shooting for is a macro that will
automatically copy the color palette in this sheet to every open worksheet.
It just gets tedious to do a <Tools<Options "Copy colors from"... every
time.

Thanks

--
Regards,
Dave
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Copy worksheet colors to every open sheet

Turn on the macro recorder and do it manually once.
then look at the recorded code.

This is what I recorded:

ActiveWorkbook.Colors = Workbooks("color_template.xls").Colors

Color_template.xls must be open.

A color template is workbook wide, so you shouldn't have to do it for each
sheet.

--
Regards,
Tom Ogilvy


"David Billigmeier" wrote:

I'm trying to code a macro that will be located in a template sheet that I
have, color_template.xls. What I'm shooting for is a macro that will
automatically copy the color palette in this sheet to every open worksheet.
It just gets tedious to do a <Tools<Options "Copy colors from"... every
time.

Thanks

--
Regards,
Dave

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
Worksheet formatting (fill colors & text colors) disappeared sweettooth Excel Discussion (Misc queries) 2 June 24th 08 01:16 AM
Copy Worksheet from one open workbook to another... sopranoiam Excel Worksheet Functions 0 August 17th 07 05:12 PM
view colors in open worksheet jjsouther Excel Discussion (Misc queries) 5 November 16th 06 07:41 PM
Why does excel create a copy of the worksheet i open Renee Excel Discussion (Misc queries) 4 March 2nd 05 06:17 PM
Find and Open Workbook then copy and move sheet cwilson Excel Programming 0 February 2nd 05 07:29 PM


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

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

About Us

"It's about Microsoft Excel"