Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Excel Cell Background and Font Color
#9
FORMAT-A-PA-LOOZA

Code:
Copy      Help
out
ExcelSheet es.Init
ARRAY(str) a

for _i 1 56
,Excel.Range ra=es.ws.Application.Range(F"A{_i}:F{_i}")
,ra.Font.ColorIndex=_i
,;ra.Font.Background
,ra.Font.Bold=TRUE
,ra.Font.Italic=TRUE
,ra.Font.Name="TIMES"
,ra.Font.Size=11
,ra.Interior.ColorIndex=56-_i


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)