Dear Mr. Xlnitwit,
If i click debug first time, it will highlight "SVForm.Show" and if i keep on pressing F8, the yellow color highlighted line moving to the below given code. Even after if i press F8, the yellow color highlighted line moving only between "Me.cbfacilityname.AddItem ws.Cells(i, "B").Value and next i".
Private Sub UserForm_Initialize()
Dim i As Long, LastRow As Long, ws As Worksheet
Set ws = Worksheets("FacilityDetails")
LastRow = ws.Range("B" & Rows.Count).End(xlUp).Row
For i = 2 To LastRow
Me.cbfacilityname.AddItem ws.Cells(i, "B").Value
Next i
Kindly do the needful.
Bookmarks