My Macro doesn't bring my userform to the front because it has just transfered focus to Internet Explorer. Instead the Taskbar flashes repeatedly. the code is simple:
Set MyObject = CreateObject("internetexplorer.application")With MyObject
.Visible = False .Navigate MyLocation
Do While .ReadyState <> 4: LoopEnd With
What code do i write to bring Excel back to the focus and present the userform "on top"?
Move the thread from Visual Basic General. There are more exports on Visual Basic for Applications in this forum. I believe you are able to get the satisfying answers.
If you have any questions in VB6, please post the thread in the following links:
Thanks again for your question.
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?