I am writing some data from a database to excel through visual basic.net. I need to change the background of some cells, as well as make the text bold. I need something like this:
xlWorkSheet.Cells(rownumber, 1).BackgroundColor = Color.Yellow
xlWorkSheet.Cells(rownumber, 1).Font.isBold = True
Of course, none of the above works. How can i achieve this? Thank..
source
share