How can i insert header and footer in excel?

Hi all,

I need to instert header and footer in excel. How can I accomplish this task? I see activies for word, but not execl.

Hey @Krithi1

Could you please show in snap what is excel header or footer ?


Hello @Krithi1

You can refer to.the below similar post. It will help you to create a new header. But what do you mean by footer in an Excel??


When we go to Insert → Text-> Header&Footer->It creates Header on the top of the data. We need to add that to our excel

Can someone help here?


The following sample using ClosedXMl might help you.
(Please make sure dispose each resources after save file.)