Bill,
>1. What do the "doevents" in command1.click() accomplish? I know what doevents is for, I just don't see why you need them here.
It's a way of letting VFP give time slices up to IE while it's loading the page.
>2. Why do you "nodefault" in oie.refresh()
Otherwise you get an error when IE instantiates, because of a conflict in the VFP.Refresh() and the IE.Refresh(), it's just one of those things you have to do.