PeopleSoft Adoption Made Smooth & Simple!
On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool. Claim Your Free WalkMe Account Now
what is wrong ?
Private Sub Command3_Click() Dim FileName As String If cboBids.ListIndex <> -1 Then FileName = GetPathToCboItem(cboBids.Text) End If I keep getting a type mismatch Function GetPathToCboItem(cboName As String) As String Dim i As Integer Dim strParts() As String For i = LBound(mArrProjects) To UBound(mArrProjects) strParts = Split(mArrProjects(i), "\") If UBound(strParts) = cboName Then ' [b]type mismatch here[/b] GetPathToCboItem = mArrProjects(i) Exit Function End If Next End Function
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.