Changing Cell Backround from Marco

  • Thread starter Thread starter davep1553
  • Start date Start date
D

davep1553

I need to know the command(s) to change the backround color of a cell
from a VBA marco.



Not Important but I feel like typing
I'm writing code into the change event of a spreed sheet to automaticly
compare a few dates refer to when things have happened and if they get
too far off make a cell red so it's clear I should get the info to
update this.
 
this would make a1 light blue

Sub test()
Range("a1").Interior.ColorIndex = 37

End Sub
 

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