Message 1 of 6
can anyone tell me where the extra number come from ?(ilogic)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
My code look like this
ExcelPath = "C:\Working Folder\CAD\Kallesoe\Kallesoe iLogic\Underdevelopment\ProjectRequirements.xlsx" ExcelSheet = "Ordre" Dim NameList As New ArrayList() GoExcel.Open(ExcelPath, ExcelSheet) For i = 3 To 4 NameList.Add(NameList.Add(GoExcel.CellValue(ExcelPath, ExcelSheet, "A"& i))) 'MessageBox.Show(NameList.Add("Raw")), "Title") 'MessageBox.Show(GoExcel.CellValue(ExcelPath, ExcelSheet, "A3"), "Title") Next 'NameList.Add(GoExcel.CellValue(ExcelPath, ExcelSheet, "A3")) GoExcel.Close Dim msg As String msg = ("Surface needed - Select Surface " & vbLf & "Part Numner: "+iProperties.Value("Project", "Part Number")& vbLf & "Description: "+iProperties.Value("Project", "Description")& vbLf & "Title: "+ iProperties.Value("Summary", "Title")& vbLf).ToString d0 = InputListBox(msg, NameList, d0, Title := "Info - Surface needed", ListName := "Surface")
I only thing there should come an inputlistbox with 2 linje .. but 4 it coming and the 0 and 2 should not be there as far as i now. can anyone tell me why they are there ? and how to fix it