SELECT tmpexcel GO TOP SCAN WITH oRange .Columns[1].value = ALLTRIM(sc_parttime) .Columns[2].value = ALLTRIM(sc_name) .Columns[3].value = ALLTRIM(discipline) .Columns[4].value = cWkJob1 *--- *--- Excel doesnt handle all RGB backcolors that VFP does. *--- You can select a lite purple and it can show up in *--- excel as yellow. So instead i recorded a macro in *--- excel where i color some cells and then view the macro *--- to see what the "colorindex" is. *--- nColFull = 38 && fullday off nColPart = 8 && partial day off *--- IF SUBSTR(UPPER(cWkJob1),1,3) = "VAC" IF "PARTIAL" $ UPPER(cWkJob1) .Columns[4].interior.colorindex = nColPart ELSE .Columns[4].interior.colorindex = nColFull ENDIF ENDIF