Stephen_IV
Well-known Member
- Joined
- Mar 17, 2003
- Messages
- 1,177
- Office Version
- 365
- 2019
- Platform
- Windows
Is it possible to line feed in a function? Like after results vbCrLf
Something like
"Washington" & vbCrLf & "Lincoln" & vbCrLf & "Columbus" & "Johnson" & vbCrLf & "Roosevelt"
Something like
"Washington" & vbCrLf & "Lincoln" & vbCrLf & "Columbus" & "Johnson" & vbCrLf & "Roosevelt"
Code:
Function PopDen(s As String) As String
Select Case Trim(s)
Case "06554", 6554: PopDen = "Washington, Lincoln, Columbus, Johnson, Roosevelt"
End Select
End Function