Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.
Sub LoadShops(Optional ShowAll As Boolean) Dim ws As Worksheet Set ws = ThisWorkbook.Worksheets("Shops") Dim cl As Range Dim i As Integer lstShops.Clear If ShowAll = True Then With lstShops For Each cl In ws.Range("tblShops").Columns(3).Cells 'display shop name If cl.Offset(, 19) = True Then .List(i, 0) = cl.Offset(, -2).Value .List(i, 1) = cl.Offset(, -1).Value .List(i, 2) = cl.Value End If Next cl i = i + 1 End With End If End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.