Thread: Sendkeys
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
wangww wangww is offline
external usenet poster
 
Posts: 7
Default Sendkeys

Sub SendURL()
Shell "C:\Program Files\Internet Explorer\iexplore.exe", vbNormalFocus
SendKeys "www.google.com", True
End Sub

This procedure can open IE, but the URL isn't entered into address bar.