B
Ben Allen
My code show the colour picker after seecting all the cells and all the
sheets. I then want it do deselect the entire sheets after the colour picker
has been closed, any ideas? my code at the moment works before the colour
picker has been closed and so only those cells are coloured. Thanks guys.
'Change Background Colour
Private Sub Background_Click()
'Select All Sheets
Sheets.Select
'Select All Cells
Cells.Select
'Open Palette
Application.CommandBars("Fill Color").Visible = True
'Deselect Cells
Sheets("Bookings").Select
Range("B4").Select
Sheets("Income").Select
Range("B4").Select
Sheets("Costs").Select
Range("B4").Select
Sheets("PriceListsandDestinations").Select
Range("B4").Select
'Close
Unload Me
End Sub
--
Cheers,
Ben
Remove your.tonsils to reply
"You only live once but if you do it right once is enough!"
sheets. I then want it do deselect the entire sheets after the colour picker
has been closed, any ideas? my code at the moment works before the colour
picker has been closed and so only those cells are coloured. Thanks guys.
'Change Background Colour
Private Sub Background_Click()
'Select All Sheets
Sheets.Select
'Select All Cells
Cells.Select
'Open Palette
Application.CommandBars("Fill Color").Visible = True
'Deselect Cells
Sheets("Bookings").Select
Range("B4").Select
Sheets("Income").Select
Range("B4").Select
Sheets("Costs").Select
Range("B4").Select
Sheets("PriceListsandDestinations").Select
Range("B4").Select
'Close
Unload Me
End Sub
--
Cheers,
Ben
Remove your.tonsils to reply
"You only live once but if you do it right once is enough!"