MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.
Function GetIE() As Object Dim IE As Object, oShApp As Object, oWin As Object Set oShApp = CreateObject("Shell.Application") For Each oWin In oShApp.Windows If TypeName(oWin.Document) = "HTMLDocument" Then Set IE = oWin Set oShApp = Nothing Set oWin = Nothing Exit For End If Next If IE Is Nothing Then Set IE = CreateObject("InternetExplorer.Application") End If Set GetIE = IE End Function Sub test() Dim IE As Object Dim t As String Set IE = GetIE() t = "11509957" IE.Navigate ("http://www.fastenal.com/web/products/detail.ex?sku=" & t & " ") End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.