Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default TWO DIFFERENT FILL COLOURs ON MENU BAR

Can anyone help?
All i want is to have 2 'fill colour' icons on my tool bar, each with
different colours, but whenever i change one, the other changes too!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default TWO DIFFERENT FILL COLOURs ON MENU BAR

You can't put the same control twice on a toolbar and have different
button displays. If at least one of the colors will always be the same,
you could record a macro, store it in our Personal.xls workbook (or an
add-in or other workbook in your startup folder), and attach it to a
button. Perhaps something like:

Public Sub FillBlue()
If TypeOf Selection Is Range Then
Selection.Interior.Color = RGB(0, 0, 255)
End If
End Sub


In article ,
Kirstoff wrote:

All i want is to have 2 'fill colour' icons on my tool bar, each with
different colours, but whenever i change one, the other changes too!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 32
Default TWO DIFFERENT FILL COLOURs ON MENU BAR

You can drag the fill color menu onto your worksheet. All of the standard
fill colors are then visible and you can easily select the one you want.
--
Elisabeth


"JE McGimpsey" wrote:

You can't put the same control twice on a toolbar and have different
button displays. If at least one of the colors will always be the same,
you could record a macro, store it in our Personal.xls workbook (or an
add-in or other workbook in your startup folder), and attach it to a
button. Perhaps something like:

Public Sub FillBlue()
If TypeOf Selection Is Range Then
Selection.Interior.Color = RGB(0, 0, 255)
End If
End Sub


In article ,
Kirstoff wrote:

All i want is to have 2 'fill colour' icons on my tool bar, each with
different colours, but whenever i change one, the other changes too!


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
Cell Fill colours stuart Excel Discussion (Misc queries) 2 March 8th 07 05:04 PM
fill colours Khyber Setting up and Configuration of Excel 8 August 22nd 06 01:32 AM
Fill colours Theo Excel Worksheet Functions 1 January 13th 06 04:16 AM
Menu colours? Douglas Sey New Users to Excel 1 December 6th 04 01:24 PM
Automatically insert fill colours? suzi Excel Worksheet Functions 1 November 17th 04 02:40 PM


All times are GMT +1. The time now is 03:57 AM.

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"