Guest_imported
New member
- Jan 1, 1970
- 0
Hi,
I am doing temporary work for a company. They had an ex-employee write a printing program for some of their other companies. It isn't working correctly and I have searched every inch to find where the check box names/codes have been stored. If anyone could decode this for me a point me in another search direction I would be very thankful.
Here is what some of the code looks like:
Private WithEvents d As HTMLDocument
Set d = WebBrowser1.Document
Set varChkBoxCol = d.getElementsByName("checkbox"
For Each varChkBox In varChkBoxCol
If varChkBox.Checked = True Then
strFileName = varChkBox.Id
intX = intX + 1
varChkBox.Checked = False
End If
Next
I want to know how to change the Id's on the check boxes. Or somewhere I should look to see where the person uploads the names next to the checkboxes.
Thanx
I am doing temporary work for a company. They had an ex-employee write a printing program for some of their other companies. It isn't working correctly and I have searched every inch to find where the check box names/codes have been stored. If anyone could decode this for me a point me in another search direction I would be very thankful.
Here is what some of the code looks like:
Private WithEvents d As HTMLDocument
Set d = WebBrowser1.Document
Set varChkBoxCol = d.getElementsByName("checkbox"
For Each varChkBox In varChkBoxCol
If varChkBox.Checked = True Then
strFileName = varChkBox.Id
intX = intX + 1
varChkBox.Checked = False
End If
Next
I want to know how to change the Id's on the check boxes. Or somewhere I should look to see where the person uploads the names next to the checkboxes.
Thanx