Solved! Go to Solution.
Function FindLabel ( [Animal], [Species_Name] ) Dim SpNameArray SpNameArray = Split([Species_Name]) Dim Authors Authors = "" For i=2 to UBound(SpNameArray) Authors = Authors & SpNameArray(i) & " " Next FindLabel = "<BOL><FNT name='Arial' size='12'>" & [Animal] & "</FNT></BOL>" & _ "<FNT name='Arial' size='10'><ITA>" & vbnewline & _ Split( [Species_Name]) (0) & " " & Split( [Species_Name] )(1) & "</ITA>" & _ vbnewline & Authors & "</FNT>" End Function
Function FindLabel ( [Animal], [Species_Name] ) FindLabel = "<BOL><FNT name='Arial' size='12'>" & [Animal] & "</FNT></BOL>" & _ "<FNT name='Arial' size='10'>" & vbnewline & _ Split( [Species_Name]) (0) & " " & Split( [Species_Name] )(1) & _ vbnewline & _ Split( [Species_Name] )(2) & " " & Split( [Species_Name] )(3) & "</FNT>" End Function
Function FindLabel ( [Animal], [Species_Name] ) Dim SpNameArray SpNameArray = Split([Species_Name]) Dim Authors Authors = "" For i=2 to UBound(SpNameArray) Authors = Authors & SpNameArray(i) & " " Next FindLabel = "<BOL><FNT name='Arial' size='12'>" & [Animal] & "</FNT></BOL>" & _ "<FNT name='Arial' size='10'><ITA>" & vbnewline & _ Split( [Species_Name]) (0) & " " & Split( [Species_Name] )(1) & "</ITA>" & _ vbnewline & Authors & "</FNT>" End Function