TWO DIFFERENT FILL COLOURs ON MENU BAR

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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!
 
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
 
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top