在vb6.0中LeftCol是用来设置或返回到最左侧列的位置
在vb.net中对应的方法是SetViewportLeftColumn&GetViewportLeftColumn:
Public Sub SetViewportLeftColumn(ByVal sheetIndex As Integer, ByVal columnViewportIndex As Integer, ByVal value As Integer)
Parameters:
sheetIndex: Index of sheet
columnViewportIndex: Index of the viewport column
value: Index of the column to set as the leftmost column of that viewport
第一个参数是sheet的序号,第二个是什么?第三个是要设定的值(如果其中有说的不对的,希望纠正!)
|
|