how do i create a button within a spreadsheet

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

Guest

I want to create some buttons within the spreadsheet so that i can select a
cell then hit the button and highlight the selected cell a certian color
 
Brian, there is one on the formatting tool bar already, looks like a paint
can, fill color, will that work? If not you could use a macro something like
this and assign it to a button, view, toolbars, forms, click on the button
then click on your sheet, assign the macro to it
Sub Color_Yellow()
With Selection.Interior
.ColorIndex = 6
.Pattern = xlSolid
End With
End Sub

--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003
 

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