Search notes:

Excel Object Model: Range.Interior

'
'   ..\..\..\runVBAFilesInOffice.vbs -excel interior -c Go
'

public sub Go()

  dim x as long, y as long

  for x = 1 to 10
  for y = 1 to 10

      cells(x, y).interior.color = rgb(25*x, 25*y, 30)

  next y
  next x
  
  activeWorkbook.saved = true

end sub
Github repository about-MS-Office-object-model, path: /Excel/Range/interior.bas
In order to remove the filling color, the interior's .pattern property must be set to xlNone:
cells(x, y).interior.pattern = xlNone

See also

The range and interior objects.

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Microsof...', 1758210065, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Microsoft/Office/Excel/Object-Model/Range/interior(60): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78