Message 1 of 5
Can this code be simpler

Not applicable
06-26-2013
10:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I am pretty new to Ilogic, an experimenting a bit.
Can this code be simpler ?
If GoExcel.CellValue(ExcelFile, "Sheet1", "A1")=1 Then Component.IsActive("A1") = True Else Component.IsActive("A1") = False End If If GoExcel.CellValue(ExcelFile, "Sheet1", "B1")=1 Then Component.IsActive("B1") = True Else Component.IsActive("B1") = False End If If GoExcel.CellValue(ExcelFile, "Sheet1", "C1")=1 Then Component.IsActive("C1") = True Else Component.IsActive("C1") = False End If