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

[µo°Ý] ¿é¤J¼Æ­È«á¡A¦p¦ó±Ò°Ê¦Û°Ê¤U©Ô¤@®æªº¾÷¨î?

¦^´_ 2# lpk187

¼Ó¥D¬O¥H«ö¶s¤è¦¡°µ¬°±Ò°Ê¶Ü?
¨º¸Ó¦p¦ó³]­p¨ç¼Æsum(E4:E8)/5¡Bsum(E5:E9)/5¡A¨Ì¦¹Ãþ±À¡A©ÎªÌ¯àª½±µ¥HÀx¦s®æ¤è¦¡§e²{¡A­è¾Ç¤£¤[«Ü¦hªF¦èÁÙ¤£«ÜÀ´¡A¯u©êºp= ="

TOP

¦^´_ 7# united7878

U¤j´£¨Ñªº¤èªk¡A§@¬°¤@¤éªÑ»ùªº¥~³¡³sµ²«Ü¹ê¥Î¡A¦ý¦]¸ê®Æ®w¥²¶·­n¦³¤Q¦~´Á¼Æ¾Ú¡A¥¼¨Ó°µ¸ê®Æ¿z¿ï¤ÀªR®É¡A¤~·|¹F¨ì¨ä¥Øªº¡A
¬Y¨Ç¨é°Ó¦³´£¨Ñ­ÓªÑ(¤é©P¤ë§¡­È¨C¤é¤U¸ü)¡A¦ý»Ý¤H¤u­«½Æ¿ï¾Ü(¤é¡B©P¡B¤ë§¡­È¤Î1500ÀɪѲ¼)¡A¥i¯à¼o®ÉÃm¤é¡C

ÁÂÁ¦U¦ìªº¦^ÂСA¤p§Ì¦b¹ê§@¤¤µo²{«Ü¦h¤p°ÝÃD«Ý¸Ñ¨M¡A¹ê¦b¬O°ò¥»¤Ó¹LÁ¡®z¡A«Ý±NVBA¥~³¡³sµ²»ù®æ§Þ¯à²ß±o«á¡A¦A½Ð±Ð¦U¦ìÅo¡C

TOP

¥»©«³Ì«á¥Ñ lpk187 ©ó 2015-7-23 22:36 ½s¿è

¦^´_ 3# finally0130


    ¤£¬O¥Î«ö¶s±Ò°Êªº¡I¦Ó¬O¦b¬Y¤@½d³ò(¨Ò¦p§A¹Ï¨ÒªºDÄ檺²Ä4¦C°_¨Ó»¡)
¥u­n¬O³o¨ä¤¤ªºÀx¦s®æµo¥ÍÅܤÆ(´N¬O§A¦³¼g¤JªF¦è«á)´N·|²£¥ÍÅܤÆ
¦¹¨Æ¥óªº¦ì¸m¦p¤U¹Ï


¤W¹Ïªºµ{¦¡°õ¦æ



¤W¹Ïªºµ{¦¡½X¦p¤U(¤è«K§A½Æ»s)
  1. Private Sub Worksheet_Change(ByVal Target As Range)
  2. On Error Resume Next
  3.     If Target.Column = 4 And Target.Row > 3 And Target <> "" Then
  4.    
  5.         Application.EnableEvents = False
  6.         Cells(Target.Row - 1, 6).AutoFill _
  7.         Destination:=Range(Cells(Target.Row - 1, 6), Cells(Target.Row, 6)), Type:=xlFillDefault
  8.         Application.EnableEvents = True
  9.     End If
  10. End Sub
½Æ»s¥N½X

TOP

¦^´_ 8# joey0415

¤§«e¨Ã¥¼±µÄ²¹L¸ê®Æ®w»PVBA¡Aºâ¬Oªì¯Åºc·Q¶¥¬q¡A©Ò¥H¦³¨Ç°ÝÃD·Q½Ð±ÐJ¤j
1.SQL¸ê®Æ¡BAccess¸ê®Æ®w¡BExcel¸ê®Æ®w¦óªÌ¸û¬°¤è«K©ö¾Ç
2.SQL¸ê®Æ®w¡A¦p¦ó¶i¦æ¸ê®Æ¿z¿ï¤ÀªR¡AÃþ¦ü°]³øª¯https://statementdog.com/pick/tpe#

·Q»¡­Y¯à¥ýÂç²M¾ãÅé¸ê®Æ®w¬[ºc¤è¦V¤Îµ²ºc¡A¹ï©ó¥¼¨Ó¿z¿ï¤ÀªRÀ³¦³«Ü¤jÀ°§U¡C
¥i¥Hªº¸Ü¡A­Y¯à¹F¨ì³]©w(¤é´Á±ø¥ó¡B°]³ø±ø¥ó¡B§¡»ù±ø¥ó)¡A§Y¥i¸ê®Æ¿z¿ï¤Î¤ÀªR1500Àɪ«¥ó¡A¿ï¥X²Å¦X±ø¥ó¤§¼Ðªº¡A±N¥i¦³®Ä´î¤Ö¤H¸£¤§¯Ó·l§r^^¡C

TOP

«Øij±z¥h¶}­Ó¹q¤l¥æ©ö¤§±b¤á
¥H¥É¤sÃҨ餧 "A+ºô¸ô¤U³æ" ¦Ó¨¥ ±z¥i¥Hª½±µ¥Ñ¸Ó¤U³æ¬Ý½L³nÅé ª½±µ¶×¥X¦ÜExcellÀÉ §¡»ù"x" x ¥i¥H¯à¥Ñ±z¦Û¤v¨M©w ¥B¦³10²Õ§¡»ùÅý±z¦Û¦æ³]©w ·íµM§ÚµLªkª¾¹D¬O¤£¬O¨C®a¨÷°Óªº¤U³æ¬Ý½L³nÅé³£¦³³o¥\¯à
¥t¥~¯uªº¦³»Ý­n¬°¤F³Ü¤û¥¤¦Ó¥h¶}ªª³õ¾i¤û¶Ü? °£«D±z¤£¬Û«H§O¤Hµ¹ªº¸ê°T ¦ý±zªº¨Ó·½¤]ÁÙ¬Oºô¸ô±oªº(yahoo finance)
§Ú´£¨Ñ¬Ù®Éªº¤èªk ·íµM­Y±z«Ü¦³¨Dª¾ºë¯« ¨ºÀ³¸Ó¬O§Ú¥¢¨¥¤F ÁٽШ£½Ì

TOP

¥»©«³Ì«á¥Ñ GBKEE ©ó 2015-7-24 06:21 ½s¿è

¦^´_ 14# finally0130

¸Õ¸Õ¬Ý
²Ä6©«Àɮתºµ{¦¡½X
  1. Option Explicit
  2. Dim x_Mon As Integer, x_Week As Integer
  3. Sub Ex()
  4.     Dim R As Long, E As Variant, t As Date
  5.     t = Time
  6.     Range("F4:Z" & Rows.Count) = "" '²M°£Â¦³¸ê®Æ Rows.Count ½d³òªº¦CÁ`¼Æ,³o¸Ì¬°¤u§@ªí½d³ò
  7.    
  8.     R = Range("D4").End(xlDown).Row '¤é¥­§¡»ùªº³Ì«á¤@¦C¸¹
  9.     With Range("B4:B" & R)          '¤ë§O½d³ò
  10.         .Cells = "=MONTH(RC[2])"    '¤u§@ªí¤W¼g¤J¨ç¼Æ,[R1C1]¤u§@ªí¤WÄæ¦W¦C¦Wªí¥Üªk
  11.         .Value = .Value             '¤½¦¡Âà­È
  12.     End With
  13.     With Range("C4:C" & R)          '©P§O½d³ò
  14.         .Cells = "=WEEKNUM(RC[1])"  '2003: ¼W¯q¶°¶·¥[¤J VBA¤ÀªR¤u¨ã½c
  15.         .Value = .Value
  16.     End With
  17.     x_Week = DatePart("ww", Range("D4")) 'VBAªº¶g§O¨ç¼Æ
  18.     x_Mon = Month(Range("D4"))           'VBAªº¤ë§O¨ç¼Æ
  19.    
  20.     For Each E In Range("D4:D" & R)      '¤é´Á½d³ò
  21.         ¶g¤ë¦¬½L»ù E                     '©I¥s Sub ¶g¤ë¦¬½L»ù E(¶Ç»¼°Ñ¼Æ)
  22.         x_Week = DatePart("ww", E)       '¦AŪ·í¶g
  23.         x_Mon = Month(E)                 '¦AŪ·í¤ë
  24.     Next
  25.     §¡»ù      '©I¥s Sub §¡»ù
  26.     MsgBox Application.Text(Time - t, "¦@­p°õ¦æ [s] ¬í")
  27. End Sub
  28. Sub §¡»ù()
  29.     Dim Rng As Range, E As Variant,  i As Integer, AR()
  30.     AR = Array(5, 10, 20, 60, 120)
  31.     For Each E In Array("F4", "N4", "V4")   '¤é¥­§¡»ù,©P¥­§¡»ù,¤ë¥­§¡»ùªº²Ä¤@­ÓÄæ¦ì
  32.         Set Rng = Range(E).Resize(Range(E).Offset(, -1).End(xlDown).Row - 3, 5)
  33.         For i = 0 To UBound(AR)
  34.             With Rng.Columns(i + 1) '§¡»ù½d³òªº¨C¤@­ÓÄæ¦ì½d³ò
  35.                 If .Rows.Count > AR(i) Then  '½d³ò¤p©ó§¡»ù¤é¼Æ ¤U­±ªºWith·|¦³¿ù»~
  36.                     With .Cells(AR(i)).Resize(.Rows.Count - AR(i) + 1)
  37.                         .Cells = "=Average(RC[" & -i + -1 & "]:R[" & -AR(i) + 1 & "]C[" & -i + -1 & "])"
  38.                         '¤u§@ªí¤W¼g¤J¤½¦¡
  39.                     End With
  40.                 End If
  41.             End With
  42.         Next
  43.         Rng.Value = Rng.Value  'Âऽ¦¡¬°­È
  44.     Next
  45. End Sub
  46. Sub ¶g¤ë¦¬½L»ù(E As Variant) 'Ū¨ú¨ì:©P¦¬½L»ù,¤ë¦¬½L»ù
  47.     If x_Week <> DatePart("ww", E) Then  '¤£¦P¶g¼Æ
  48.         With Range("L" & Rows.Count).End(xlUp).Offset(1)
  49.             .Resize(, 2) = E.Offset(-1).Resize(, 2).Value 'Eªº¤W¤@¦C
  50.             .Cells(1, 0) = DatePart("ww", E.Offset(-1))
  51.         End With
  52.     End If
  53.     If x_Mon <> Month(E) Then           '¤£¦P¤ë¼Æ
  54.         With Range("T" & Rows.Count).End(xlUp).Offset(1)
  55.             .Resize(, 2) = E.Offset(-1).Resize(, 2).Value
  56.             .Cells(1, 0) = Month(E.Offset(-1))
  57.         End With
  58.     End If
  59. End Sub
½Æ»s¥N½X
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¦^´_ 14# finally0130

¤@¯ë¤é¸ê®Æ©Î¤T¤jªk¤H©Î´Á³f¸ê®Æµ¥¡A¤@¯ë¸ê®Æ®w¦s¨ú´N«Ü¤è«K

¦pªG¥[¤W°]³øªº¸Ü¡A§Ú­Ó¤H¸Õ°µ¦h¦¸¡A³Ì«á¬O¨CÀɭӪѩñ¦b¤@­ÓexcelÀɤ¤¡A¨C­ÓÀɪº­¶­±¦s©ñ¸ê®Æ¤£¦P¡A¦p²Ä¤@­±¬O²{ª÷¬y¶qªí¡A²Ä¤G­¶¬Oxxx
°]³ø­Y©ñ¤@¯ë¸ê®Æ®w¡A±N¸ê©ñ¶i¥h«Ü®eÎï¡A¦ý­n±N¸ê®Æ¦ê±µ¦b¤@°_®É¡A¥¦ªºleft joinªº»yªk«Üªø®e©ö¥X¿ù¡A¤£¹Lµ{«×¦nªº¨S®t¡A¦AªÌ°]³ø·|¦³ª÷¿Ä»PÀç«Ø»P¤@¯ë¤½¥q³øªí¤£¦P¡A¦ê±µ®É¦³¦³°ÝÃD

§Ú¦Û¤v«h¬O¸Õ¼g¦h¦~«á¤~§ï¦¨¦p¦¹

¸ê®Æ¤Ö©ñ¤°»ò¦a¤è³£§Ö¡A¸ê®Æ¦h­n²Õ¦X­n¦ê±µ®É°ÝÃD·|¦³¤@°ï­nªá«Ü¦h®É¶¡§JªA¡A¦pªG¯uªºÄ±±o°]³øª¯¹ï§A¦³¥Îªº¸Ü¡A»¡¯uªºªá¿ú¶RªA°ÈÁÙ¦³«ÈªA¹q¸Ü¥i¥´¤]¤£¿ù

¦pªG§A¥u¬O­n²³æ¿z¿ïªº¸Ü¡A«Ü¦hºô¯¸³£¦³¡A¤£­n¦Û¤v¼gµ{¦¡

TOP

¦^´_ 16# GBKEE


¿ð¨Óªº¦^ÂСAG¤j´£¨Ñªºµ{¦¡½X¯uªººÞ¥Î¡A«D±`·PÁ¡C

TOP

¦^´_ 17# joey0415


J¤j±z¦n¡A±z»¡ªºexcel³æªÑ³æÀɪº¸ê®Æ®w¼Ò¦¡¡A¬O«üADO¥~³¡³sµ²¸ê®Æ¶Ü?
¦pªG­n¾Ç²ßªº¸Ü¡A¦³¤°»ò±ÀÂË®ÑÄy©Îºô¯¸¥i¨Ñ°Ñ¦Ò¡A¥i¨Ñ·s¤â¤Jªù¡A·P®¦¡C

TOP

¥»©«³Ì«á¥Ñ joey0415 ©ó 2015-8-14 21:50 ½s¿è

¦^´_ 19# finally0130

http://www.kingstone.com.tw/search/result.asp?c_name=%25E5%258F%25A4%25E5%25B7%259D%25E9%25A0%2586%25E5%25B9%25B3&se_type=4&q_type=au

³o­Ó¤Hªº®Ñ¥i¥H¶R¡A§Ú¦³¦n´X¥»

g¤jªº¤èªk¬O¤@Àɤ@ÀÉ¡A°²³]¤@ÀÉ1¬í¡A¨C¤é1500Àɱ½ªÑ¡A´N­n1500¬í¡A
­Y§ï¥Î¸ê®Æ®w»yªk¡A¥¦¥i¥H¤@¦¸ºâ©Ò¦³ªºªÑ²¼¤@°_­pºâÃþ¦ümaµ¥«ü¼Ð¡A¤@¦¸¬ù¤@¤ÀÄÁ¡A³Ì«á¿é¥X¦Üexcel¤¤§PÂ_¡A³Ì¦h¦A¥[¤­¬í...

access¥i¥H¡Bsqlite¤]¦æ

§Ú¦Û¤v¬Osqlite¡A¥¦ªº¦n³B¬O©Maccess³£¬O³æÀÉ¡A¦ý¬O¥¦¨S¦³®e¶q­­¨î¡Aaccess¬O2g¡A¦h¤F­n¤Á³Î¡A¥¦¬O§K¶Oªº
¤Jªù«á¦h½m²ßsql»yªk´N·|µo²{¯uªº«Ü§Ö

¥H¤W¬°­Ó¤H¸gÅç°Ñ¦Ò§Y¥i

¥H¤U¬°sql»yªk±Ð¾Çºô¯¸
http://www.1keydata.com/tw/sql/sql.html

TOP

        ÀR«ä¦Û¦b : ¡i°±º¢¤£«e¡A²×µL©Ò±o¡j¤H³£°g©ó´M§ä©_ÂÝ¡A¦]¦Ó°±º¢¤£«e¡FÁa¨Ï®É¶¡¦A¦h¡B¸ô¦Aªø¡A¤]¤FµL¥Î³B¡A²×µL©Ò±o¡C
ªð¦^¦Cªí ¤W¤@¥DÃD