ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] ie8¥¿±`¦ýie11µLªk°õ¦æ

[µo°Ý] ie8¥¿±`¦ýie11µLªk°õ¦æ

½Ð°Ý¬°¦ó¥H¤U¨â¬q¤£¦Pµ{¦¡½X¦b ie8 §¡¥i¥¿±`°õ¦æ¡A¦ý ie11 «oµL¤ÏÀ³(¤Ï¬õ³B)¡A¬O§_¦]¬°µ{¦¡¼gªk¤£¦P©Î»Ý­n¥[¤J¤°»òª«¥ó©O?

Sub test()
Dim p As Object
Set myIE = CreateObject("InternetExplorer.Application")
With myIE
  .Visible = True
  .Navigate "http://test/Default.aspx" '¤½¥q¤ººô¬GµLªk´£¨Ñ¯u¹êºô§}

  Do While Busy Or .ReadyState <> 4: DoEvents: Loop

  Set p = .Document.all.tags("INPUT")
  .Document.all.txtUsername.innerText = "test"
  .Document.all.txtPassword.innerText = "test"
  .Document.all.ImageButton2.Click


  Do While Busy Or .ReadyState <> 4: DoEvents: Loop

End With
End Sub
--------------------------------------------------------------------------
Sub test()

Set myIE = CreateObject("InternetExplorer.Application")
With myIE
  .Visible = True
  .Navigate "http://test/Report_OMS/Reprt_Sale.aspx" '¤½¥q¤ººô¬GµLªk´£¨Ñ¯u¹êºô§}

  Do While Busy Or .ReadyState <> 4: DoEvents: Loop

  .Document.all("ReportViewer1_ctl01_ctl05_ctl00").Value = "Excel"

End With
End Sub
*¦v¤k¤@ªTµL»~*

        ÀR«ä¦Û¦b : ¡i¥Í©R¦b©I§l¶¡¡j¦òªû»¡¡G¡u¥Í©R¦b©I§l¶¡¡C¡v¤HµLªkºÞ¦í¦Û¤vªº¥Í©R¡A§óµLªk¾×¦í¦º´Á¡AÅý¦Û¤v¥Ã¦í¤H¶¡¡C¬JµM¥Í©R¥h¨Ó³o»òµL±`¡A§Ú­Ì§óÀ³¸Ó¦n¦n¦a·R±¤¥¦¡B§Q¥Î¥¦¡B¥R¹ê¥¦¡AÅý³oµL±`¡BÄ_¶Qªº¥Í©R¡A´²µo¥¦¯uµ½¬üªº¥ú½÷¡A¬M·Ó¥X¥Í©R¯u¥¿ªº»ù­È¡C
ªð¦^¦Cªí ¤W¤@¥DÃD