c# - How to pin the header row in Excel in .NET? -


i creating excel spreadsheet in c#. have header (first) row pinned in place when user scrolls rows. how can in c# (or vb.net)?

i know not detailed answer, should in right direction. when did lot of perl , later ruby automation of excel , wanted know how achieve , recorded macro , inspected code see how vba interacted objects. did task , got:

sub makro1() ' ' makro1 makro '  '     activewindow.splitrow = 1.1     activewindow         .splitcolumn = 0         .splitrow = 1     end     activewindow.freezepanes = true end sub 

i leave else translate c#, should walk in park.


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -