Hi Kulranjan,
ActiveWindow, ActiveWorkbook, ActiveWorksheet works in the context of macro(VBA) directly.
When developing the code stage you can use ->
Dim excel as Object = GetInstance(handle)
excel.ActiveWindow.SplitColumn = 0
excel.ActiveWindow.SplitRow = 1
excel.ActiveWindow.FreezePanes = True
Note the reference to the Excel instance in the VB.NET code.
------------------------------
Shashank Kumar
DX Integrations Partner Consultant
Blue Prism
Asia/Singapore
+6581326707
------------------------------