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

[µo°Ý] ¦³Ãö¨Ï¥Î¨Æ¥óµ{§Ç¨ú±o¸ê®Æ(¦³¤G­Ó°ÝÃD)

[µo°Ý] ¦³Ãö¨Ï¥Î¨Æ¥óµ{§Ç¨ú±o¸ê®Æ(¦³¤G­Ó°ÝÃD)

¥»©«³Ì«á¥Ñ icestormer ©ó 2014-1-14 12:33 ½s¿è









¤W¹Ï¬O§Q¥ÎA2ªºª««~¦WºÙ ¥h§ä¨ì¸ê®Æ°Ï¤ºªº½æ»ù¦ý²{¦b¬O¶R»ùªº¤½¦¡¼g¤£¥X¨Ó~~

¤U¹Ï¬O¦UºØª««~¸ê®Æ ¥Ñ©ó¬õ°é³B¸ê®Æµ§¼Æ¤£¦P ©Ò¥H¤£ª¾À³­n«ç¼g¤½¦¡ÅýEXCEL¯à¨ú±o¡@¶R»ùªº»ù¦ì¡]¤wªþ¤WÀɮס^
¦pªG§Ú¦³»¡©ú¤£²Mªº¦a¤è¡A½Ð¨£½Ì¡ã¡ã¡@




Book2.rar (13.75 KB)

¦^´_ 14# stillfish00


   ¦n ·PÁÂ §Ú¥h¸Õ¸Õ

TOP

¦^´_ 13# icestormer
1. FOR°j°éµ²§ô´N¥þ³¡§¹¦¨ªü..
2. ¨S¹J¨ì¡A°j°é¤º¥[­ÓDOEVENTS¬Ý¬Ý

TOP

¥»©«³Ì«á¥Ñ icestormer ©ó 2014-1-24 14:19 ½s¿è
¦^´_  icestormer
§ï¤W­±
  With Sheets("¥D¤u§@ªí")
    ar = Application.Transpose(.Range(.Range(" ...
stillfish00 µoªí©ó 2014-1-16 10:18


§A¦n ¥Ñ©óµo²{¥t¤@­Ó°ÝÃD¦ý¤£ª¾«ç¼g ¤S¨Ó½Ð±Ð§A¤F
§Ú·Q¨Ï¥Î¤U­±µ{¦¡½X Åý¥¦¦Û°Ê­«ºâ(§Ú§â¥¦§ï¦¨¤â°Êªº)
'
    Application.MaxChange = 0.001
    ActiveWorkbook.PrecisionAsDisplayed = False
    Calculate
¥Ñ©ó¸ê®Æ¦b§ó·s®É·|¦³2 300µ§ ¤£ª¾À³«ç¼Ë¼g Åýµ{¦¡§P©w ¤w°±¤î§ó·s(¥þ³¡¤w§ó·s§¹¦¨) ¦A°õ¦æ¤W­zµ{¦¡½X©O? ³Â·Ð§A¤F

¥t¥~¤£ª¾¬°¤°»ò¥u­n§ó·s¶W¹L¤Q¦hµ§´N·|¥X¦A²{¦p¤U¹Ïªº±¡ªp,­nµ¥¨ì§ó·s§¹¦¨¤~·|¦^´_¥¿±` ,¦ý³o¥¿±`¶Ü??

TOP

¦^´_  stillfish00


   ·PÁÂ!
icestormer µoªí©ó 2014-1-16 10:29



  ¤w§¹¥þ¨S¦³°ÝÃD..§Ú¦A¦h¸Õ ·PÁªºÀ°¦£^^

TOP

¦^´_ 10# stillfish00


   ·PÁÂ!

TOP

¥»©«³Ì«á¥Ñ stillfish00 ©ó 2014-1-16 10:20 ½s¿è

¦^´_ 9# icestormer
§ï¤W­±
  With Sheets("¥D¤u§@ªí")
    ar = Application.Transpose(.Range(.Range("A2"), .Cells(.Rows.Count, "A").End(xlUp)).Value)
    If Not IsArray(ar) Then ar = Array(ar)
  End With


¥h±¼ updateprice   ­n¶]®É¦³¿ù»~
¤£À´¡A¤£¥i¯à¨ú®ø©I¥s¨ç¼Æ¤Ï¦Ó²£¥Í¿ù»~

TOP

¥»©«³Ì«á¥Ñ icestormer ©ó 2014-1-16 09:53 ½s¿è

¦^´_ 8# icestormer


   

§A¦n §Ú¤@¶}©l ¸Õ³£OK(¦³3µ§) µM«á©O §Úµo²{·í¥u¦³¤@µ§¸ê®Æ®É(¦p¤W¹Ï)´N·|µo¥Í¿ù»~  ¥u­n¦³2µ§¥H¤W¸ê®Æ´N¤£·|¥X¿ù ¤£ª¾­n­×§ï¨º¸Ì©O?


¥t¥~ §Ú§â¨º¤@¦æ¥h±¼ updateprice   ­n¶]®É¦³¿ù»~

TOP

¦^´_ 7# stillfish00


   ¹ï ¨S¿ù ¤£µM§Ú¥u­n¬Ý300µ§¦ý¤@¦¸¥þ³¡§ó·s3¤dµ§...³o..¤Ó¨Sªá®É¶¡¤]¨S¥²­n  ·PÁ §Ú¸Õ¸Õ!^^

TOP

¦^´_ 6# icestormer
©Ò¥H§A¸ê®Æªí¬O¦³«Ü¦h«Ü¦h¥~³¡¸ê®Æ³s½u²Õ¦¨¡A¥þ³¡³£§ó·s¤ÓºC©Ò¥H¬O­n§ä¨ì¯S©wªº¥~³¡¸ê®Æ§ó·s³s½u´N¦n¡A
µM«á¦A¨ú¦^¶R½æ»ù¨ì¥D¤u§@ªí¡A¹ï¶Ü¡H

­×§ï¥D¤u§@ªí
  1. Private Sub Worksheet_SelectionChange(ByVal Target As Range)
  2.   If Application.Intersect(Target, Range("F1:G1")) Is Nothing Then Exit Sub
  3.   UpdateQueryTable
  4.   UpdatePrice
  5. End Sub
½Æ»s¥N½X
­ì¥»¤@¯ë¼Ò²Õ¦A¥[¤W:
  1. Sub UpdateQueryTable()
  2.   Dim ar, rng As Range, x
  3.   Dim sMsg As String, bNotFound As Boolean
  4.   
  5.   Const sMark = " - Market Browser"
  6.   sMsg = "¥H¤U§ä¤£¨ì : "
  7.   
  8.   With Sheets("¥D¤u§@ªí")
  9.     ar = Application.Transpose(.Range(.Range("A2"), .Cells(.Rows.Count, "A").End(xlUp)).Value)
  10.   End With
  11.   
  12.   With Sheets("¸ê®Æ°Ï")
  13.     For Each x In ar
  14.       Set rng = .Cells.Find(x & sMark, LookIn:=xlValues, lookat:=xlWhole)
  15.       If rng Is Nothing Then
  16.         sMsg = sMsg & vbCrLf & x & sMark
  17.         bNotFound = True
  18.       Else
  19.         rng.QueryTable.Refresh BackgroundQuery:=False
  20.       End If
  21.     Next
  22.   End With
  23.   
  24.   If bNotFound Then MsgBox sMsg Else MsgBox "Finish"
  25. End Sub
½Æ»s¥N½X

TOP

        ÀR«ä¦Û¦b : ¤@¥y·Å·xªº¸Ü¡A´N¹³©¹§O¤H¨­¤WÅx­»¤ô¡A¦Û¤v·|ªg¨ì¨â¤Tºw¡C
ªð¦^¦Cªí ¤W¤@¥DÃD