Hello skyblues,
Working with Internet Explorer through VBA is a bit tricky. Since Internet Explorer is started asynchronously from VBA, the VBA code runs at its own pace. The trick is to synchronize the VBA code execution with what Internet Explorer is doing. The way to do this is by using a Class Module with events.
The attached workbook uses "A2" and "B2" as the ASI inputs. "C2" is where the calculated web page result is returned. There is a button to run the macro after you input the values.
EDIT: Added error handler
Module1 Macro Code
Class Module (IE_Class) Code
Bookmarks