working whit excel

  • Thread starter Thread starter saeed rezaei
  • Start date Start date
S

saeed rezaei

hi
i am saeed rezaei (e-mail address removed)

who is knowh how i can changing the excel cells backcolor.

now i can working whit excel but still i cant change the backcolor of cells.
 
saeed rezaei said:
who is knowh how i can changing the excel cells backcolor.

now i can working whit excel but still i cant change the
backcolor of cells.

Give the Excel programmers a try:

<URL:
 
Try the following out:
xlRG = xlWS.Cells(row, 7)
xlRG.Font.Bold = True
xlRG.Font.Color = 255 ' sets font color to RED
xlRG.Interior.ColorIndex = 34 ' light blue
xlRG.Interior.Pattern = Excel.XlPattern.xlPatternSolid

where xlRG is a range object and xlws is the worksheet object
 

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