Set WshShell = WScript.CreateObject("WScript.Shell"
Set FileSystem = CreateObject("Scripting.FileSystemObject"
Set IEDbx = WScript.CreateObject("InternetExplorer.Application"
Set DropDownDialog = IEDbx.Document.Dbx.Elements
Set DropDownItem = DropDownDialog ("Department"
For Each Item in DropDownItem.Options
If Item.Selected Then
Depart = Item.Text
Exit For
End If
Next
Set DropDownDialog = Nothing
Set DropDownItem = Nothing
Set RadioButtonDialog = IEDbx.Document.Dbx.Elements("Comp"
For Each RadioButton in RadioButtonDialog
If RadioButton.Checked = True Then
Comp = RadioButton.Value
Exit For
End If
Next
Set RadioButtonDialog = Nothing
Set CheckBoxDialog = IEDbx.Document.Dbx.Elements("App"
List = ""
For Each CheckBox in CheckBoxDialog
If CheckBox.Checked = True Then
List = List & vbCrLf & CheckBox.Value
End IF
Next
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.