I am writing this stupid little program, and half the time it works, and the other half it doesn't. I am not very experienced at VBA, and I am just starting to learn. Any help would be appreciated. Here is my code.
Private Sub CommandButton1_Click()
Dim doc As Object
Dim ie As Object
Dim thing...