johnlatona123
Innovator
- Local time
- Yesterday, 18:10
- Joined
- Sep 20, 2011
- Messages
- 85
hi all,
i was hoping someone can help me with an issue.
i have a form, that now has 2 checkboxes.
one checkbox, when clicked, opens a file on my server based on some criteria
---------------------------------------------------------------------------
Private Sub Page1_Click()
On Error GoTo Err_Page1_Click
Dim response, mystring
mystring = "CAN'T FIND THE DRAWING!"
Dim strInput As String
strInput = "N:\DRAWINGS\" & [Drawing#] & "-01_" & [DwgRev] & ".dwg"
Application.FollowHyperlink strInput, , True
[Page1] = 0
Exit_Page1_Click:
Exit Sub
Err_Page1_Click:
response = MsgBox(mystring, vbOKOnly)
[Page1] = 0
Resume Exit_Page1_Click
End Sub
------------------------------------------------------------------------------------
the other checkbox, is the problem. i want this checkbox to run a check for the file on the server and if it exists, this check box would be checked when the form loads or opens.
i then need to create a button that can "click" a group of check boxes and run thier functions all at once.
any ideas?
please advise.
i was hoping someone can help me with an issue.
i have a form, that now has 2 checkboxes.
one checkbox, when clicked, opens a file on my server based on some criteria
---------------------------------------------------------------------------
Private Sub Page1_Click()
On Error GoTo Err_Page1_Click
Dim response, mystring
mystring = "CAN'T FIND THE DRAWING!"
Dim strInput As String
strInput = "N:\DRAWINGS\" & [Drawing#] & "-01_" & [DwgRev] & ".dwg"
Application.FollowHyperlink strInput, , True
[Page1] = 0
Exit_Page1_Click:
Exit Sub
Err_Page1_Click:
response = MsgBox(mystring, vbOKOnly)
[Page1] = 0
Resume Exit_Page1_Click
End Sub
------------------------------------------------------------------------------------
the other checkbox, is the problem. i want this checkbox to run a check for the file on the server and if it exists, this check box would be checked when the form loads or opens.
i then need to create a button that can "click" a group of check boxes and run thier functions all at once.
any ideas?
please advise.