Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Sub ChangeSizes()
- For i = 2 To 50
- Range("G" & i) = LookupSize(Range("G" & i).value)
- Next i
- End Sub
- Public Function LookupSize(Size) As String
- Select Case Size
- Case Is = 1
- Return '5/8" or 1/4"'
- Case Is = 43
- Return '3/8"'
- End Select
- End Function
Add Comment
Please, Sign In to add comment