Insert column headers in Excel using C#

M

Marilyn

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
 

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

Top