GrapeCity.Windows.SpreadSheet.Data Namespace > Worksheet Class > NextNonEmptyColumn Method : NextNonEmptyColumn(Int32,SheetArea) Method |
'Declaration Public Overloads Function NextNonEmptyColumn( _ ByVal column As System.Integer, _ ByVal sheetArea As SheetArea _ ) As System.Integer
gcSpreadSheet1.Sheets[0].Columns[2].IsVisible = false; int j = 0; while (!(j == -1)) { j = gcSpreadSheet1.Sheets[0].NextNonEmptyColumn(j, GrapeCity.Windows.SpreadSheet.Data.SheetArea.Cells); listBox1.Items.Add(j.ToString()); }
GcSpreadSheet1.Sheets(0).Columns(2).IsVisible = False Dim j As Integer j = 0 Do Until j = -1 j = GcSpreadSheet1.Sheets(0).NextNonEmptyColumn(j, GrapeCity.Windows.SpreadSheet.Data.SheetArea.Cells) ListBox1.Items.Add(j.ToString()) Loop
Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6