J
Jerry Anderson
I'm trying to open a specific Word document titled ""P:\City Clerk - Award of
Bid\Bid Award with Budget Amendment and Future Year Committments and
Committee Approval". (I didn't name it!!) Based on the values of three check
boxes, I have built the following code. It doesn't work. Why?
Dim strDoc As String
strDoc = "P:\City Clerk - Award of Bid\Bid Award"
If Me.BidCheck1 = True Then
strDoc = strDoc & " with Budget Amendment"
Else
strDoc = strDoc & " without Budget Amendment"
If Me.BidCheck2 = True Then
strDoc = strDoc & " and Future Year Committments"
Else
strDoc = strDoc & " and No Future Year Committments"
If Me.BidCheck3 = True Then
strDoc = strDoc & " with Committee Approval"
Else
strDoc = strDoc & " without Committee Approval"
End If
End If
End If
Application.FollowHyperlink strDoc
Bid\Bid Award with Budget Amendment and Future Year Committments and
Committee Approval". (I didn't name it!!) Based on the values of three check
boxes, I have built the following code. It doesn't work. Why?
Dim strDoc As String
strDoc = "P:\City Clerk - Award of Bid\Bid Award"
If Me.BidCheck1 = True Then
strDoc = strDoc & " with Budget Amendment"
Else
strDoc = strDoc & " without Budget Amendment"
If Me.BidCheck2 = True Then
strDoc = strDoc & " and Future Year Committments"
Else
strDoc = strDoc & " and No Future Year Committments"
If Me.BidCheck3 = True Then
strDoc = strDoc & " with Committee Approval"
Else
strDoc = strDoc & " without Committee Approval"
End If
End If
End If
Application.FollowHyperlink strDoc