Function GetVitals(ID As Long, Age As Long, Optional Weight As Long) As String GetVitals="ID=" & ID &"Age=" & Age & "Weight=" & Weight End Function Sub ShowVitals() Dim ID As Long, Age As Long,Weight as Long Debug.Print GetVitals(ID:=5,Age:=20) Debug.Print GetVitals(ID:=6,Age:=25,Weight:=130) End Sub ID=5 Age = 20 Weight= ID=6 Age = 25 Weight=130 ID=5 Age = 20 Weight=0 ID=6 Age = 25 Weight=130 ID=5 Age = 20 Weight=Null ID=6 Age = 25 Weight=130 ID=5 Age = 20 ID=6 Age = 25 Weight=130
1.
ID=5 Age = 20 Weight=
ID=6 Age = 25 Weight=130
2.
ID=5 Age = 20 Weight=0
ID=6 Age = 25 Weight=130
3.
ID=5 Age = 20 Weight=Null
ID=6 Age = 25 Weight=130
4.
ID=5 Age = 20
ID=6 Age = 25 Weight=130
Q 1 / 36
Press C to Clear
Press R to Reset
Press N or Enter to Next or Check answer
Press 1,2,3, ... to toggle answers