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

VBA ÂI¿ïhref=javascript:GetUrl()

VBA ÂI¿ïhref=javascript:GetUrl()

½Ð°Ý¦p¦ó¥HvbaÂI¿ïºô­¶³sµ²«ö¶s¡A¦ý¦]ºô­¶¬°¤½¥q¤ººôµLªk´£¨Ñ¡AÁٽкô¤jÀ°¦£¬Ý¬Ý¬O§_¦³¸Ñ¡AÁÂÁ¡C


href="javascript:GetUrl('../../OrderManagement/TMSCustomerOderList.aspx','422')"


ºô­¶«ö¶s»P½s½X¦p¹Ï

ºô­¶«öÁä.PNG

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

¦^´_ 1# msmplay

³æ¬Ý³o¤@¦êhref="javascript:GetUrl('../../OrderManagement/TMSCustomerOderList.aspx','422')"

À³¸Ó¬Ý¤£¥X¹ê»Úªººô§}§a?!

¦ý¦pªG§A¬O­n¥ÎVBA³sºô¯¸

¥i¥H°Ñ¦Ò¤U¤è°µªk
  1. Sub IE()

  2.     Dim objIE As InternetExplorer
  3.    
  4.     'IE(InternetExplorer)
  5.     Set objIE = CreateObject("InternetExplorer.Application")
  6.    
  7.     objIE.Visible = True
  8.    
  9.     'URL
  10.     objIE.Navigate "http://www.google.com/"
  11.    
  12. End Sub
½Æ»s¥N½X
°O±o§â¤Þ¥Î¤Ä°_¨Ó
¥Î¥\¨ì¥@¬É¥½¤é¨º¤@¤Ñ¡ã¡ã¡ã

TOP

¦^´_ 2# li_hsien


  l¤j~~~«D±`·PÁ§A¡A¦ý³o¤£¬O­n¶}±Ò¤@­Óºô­¶¡A¦Ó¬OÂI¿ï¤@­Óºô­¶¤¤ªº«ö¶s³sµ²¤]´N¬O¶}±Òºô­¶¥\¯à§Ú·|¡A¦ý­n¦A¶i¶¥ÂI¿ï¨º­Ó«ö¶s§Ú´N¤£·|¤F!!!¤£ª¾¹D¬O§_¦³¨ä¥L¸Ñ©O??
*¦v¤k¤@ªTµL»~*

TOP

¦pªG¬Ojavascript«ö¶sIJµoªº¸Ü¤j³¡¤À§Ú³£¬O³o¼Ë¥Î¡C
  1. myIE.document.parentwindow.execscript "javascript:__doPostBack('ctt$Content$Query','')", "JavaScript"
½Æ»s¥N½X
§Aªº°T®§¨Ó¬Ý§Ú·|§ä¨ìJavacript²£¥Í¥Xªººô­¶¦b¸Ì­±°µ¾Þ§@¡A
¨úªººô­¶¦WºÙ¤èªk
1.ÂI³sµ²¶i¤J«á¬ÝNavigateºô§}¡C
2.Excel"¿ý»s¥¨¶°"«á"±qWeb¨ú±o¥~³¡¸ê®Æ"¿é¤Jºô§}¨ì­nªº¸ê®Æµe­±«á"¶×¥X"¡A¦b°±¤î¿ý»s¡A±qVBA¤º¬Ý¿ý¤U¸ê®Æ¨Ó·½ºô§}¡C

TOP

        ÀR«ä¦Û¦b : µoµÊ®ð¬Oµu¼ÈªºµoºÆ¡C
ªð¦^¦Cªí ¤W¤@¥DÃD