View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Marilyn Marilyn is offline
external usenet poster
 
Posts: 211
Default Insert column headers in Excel using C#

How can I insert column headers in Excel documents using C# with
Microsoft.Office.Interop.Excel namespace?

Row 1:
Col 1 = YEAR
Col 2 = MONTH
Col 3 = DAY
Col 4 = TMIN
Col5 = CODE

I have hundreds of these Excel documents so I need to automate this. I
already have a routine to loop through the file directories. Just don't know
how to insert the column headers.

Thanks,

Marilyn