When I run the macro below I get this error - Method 'Busy' of object 'IWebbrowser2' failed. In debug this line is highlighted - While ieApp.Busy Or ieApp.ReadyState <> 4: DoEvents: Wend
Also I think I have set the variables wrong for pid and vid. They are hidden elements in the same form...