how do I use VBA to set background of a cell

K

keith

Hello,

Using the following basic syntax

Worksheets("Sheet1").Range("A1").Value

How would I sent the of the cell ranges to yellow (or any other color)

Keith
 
D

Dave Peterson

One of the easiest ways to get this kind of syntax is to record a macro when you
do it manually.

I usually do it in a test workbook so I don't mess up the real one.
 

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

Top