Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default ResetColor/colour

I need to be able to reset the colour of all spreadsheets I open to
the standard/default palette. Easy I thought, Open_Workbook event in
my Personal macros, however this does not seem to kick in.

Can anyone offer suggestions as to the appropriate place to put this,
I have tried various locations in Personal, all without success.

Thanks
Fred
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,420
Default ResetColor/colour

Put this in Personal.xls

Option Explicit

Public WithEvents App As Application

Private Sub App_WorkbookOpen(ByVal Wb As Workbook)
Wb.ResetColors
End Sub

Private Sub Workbook_Open()
Set App = Application
End Sub

'This is workbook event code.
'To input this code, right click on the Excel icon on the worksheet
'(or next to the File menu if you maximise your workbooks),
'select View Code from the menu, and paste the code




--
__________________________________
HTH

Bob

wrote in message
...
I need to be able to reset the colour of all spreadsheets I open to
the standard/default palette. Easy I thought, Open_Workbook event in
my Personal macros, however this does not seem to kick in.

Can anyone offer suggestions as to the appropriate place to put this,
I have tried various locations in Personal, all without success.

Thanks
Fred



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default ResetColor/colour

Many thanks, problem solved

Regards
Fred
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
How can colour of cell shading be fixed to one colour Tabrez Excel Discussion (Misc queries) 2 September 23rd 08 04:55 PM
BLINK CELL COLOUR OR TEXT COLOUR K[_2_] Excel Programming 1 April 24th 08 06:57 PM
How do I save new colour schemes for graphs in the colour template Alison Charts and Charting in Excel 1 July 22nd 06 10:35 PM
change a cell background colour to my own RGB colour requirements Stephen Doughty Excel Discussion (Misc queries) 4 June 16th 06 01:08 PM
Text in Blue colour, but print in black colour wuwu Excel Worksheet Functions 1 November 13th 04 02:36 PM


All times are GMT +1. The time now is 01:02 AM.

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"