View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Chris L Chris L is offline
external usenet poster
 
Posts: 10
Default Changing Cell Color with macro

Hi,

Does anyone know how to change the cell color with macro in Excel 97.
The following code only works in Excel 2000

Sheet13.Cells(1,2).Interior.Color = RGB(126, 255, 126) 'Grey

In Excel 97, it gives the following error:
Unable to set the Color property of the Interior class

Regards,
Chris