Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
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.
|Why am I getting "No Duplicate Values Found" on this spreadsheet when there very clearly ARE duplicates?||12||408|
|Add a task in Outlook from access||11||43|
|How to measure sizes and angles in scanned images ?||3||87|
|"Failed to convert parameter value from a String to a Decimal."||4||30|