Sets or returns the horizontal (x) position of the workbook window's upper left corner when displayed in Excel.

 public int HorizontalPosition{ get; set; }
Public Property HorizontalPosition() As Integer

          //--- Get the horizontal position of the workbook window's upper left corner
          int winHoriz = wb.HorizontalPosition;

          //--- Set the horizontal position of the workbook window's upper left corner
          wb.HorizontalPosition = 100;
        

          '--- Get the horizontal position of the workbook window's upper left corner
          Dim winHoriz As Integer = wb.HorizontalPosition

          '--- Set the horizontal position of the workbook window's upper left corner
          wb.HorizontalPosition = 100