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

»ù®æ¬ö¿ýªº»yªk¦³¼g¿ù¶Ü??

¦^´_ 92# c_c_lai

Sub ®É¶¡()
    Sheets("RTD").Cells(2, 1) = WorksheetFunction.Text(Now(), "hh:mm:ss")-------------³o­Ó¦a¤è®É¶¡¤£¥Î¼g¤J
    Application.OnTime Now() + TimeValue("00:00¡G01"), "®É¶¡"
End Sub
   
---------------------------------------------------------------------------------------------------------------------------
Sub RecordPrice(TG As Range)
    Dim WR As Long, cts As Long
   
    With Sheets("RTD")
        If .Range("A1") < 1 Then Exit Sub
   
        cts = TG.Column
   
        WR = .Cells(Rows.Count, cts).End(xlUp).Row + 1         '  ¨D¨ú¸Ó²§°ÊÄæ¦ìªº³Ì«á¤@µ§¬ö¿ý¦C¦ì¸m
        
        If WR = 3 Or .Cells(WR - 1, cts) <> .Cells(2, cts) Then
            .Cells(WR, cts).Offset(, -3).NumberFormatLocal = "hh:mm:ss"   '  ³]©wÀx¦s®æ®æ¦¡ (®É¶¡)----------------³o­Ó¦a¤èªº¥\¯à¬O??¦³®É¶¡ªº³¡¤À¥i¥H³£®³±¼¶Ü??
            
            .Cells(WR, cts).Offset(, -2).Resize(, 3) = .Range(TG.Address).Offset(, -2).Resize(, 3).Value
        End If
    End With
End Sub

TOP

¥»©«³Ì«á¥Ñ c_c_lai ©ó 2016-4-10 16:01 ½s¿è

¦^´_ 91# ÂŤÑÄR¦À
§A¬O«ü¡H

§A¤£¬O­n¨D¸ê®Æ¼g¤J®É¤£¥Î¼g¤J®É¶¡¶Ü¡H

TOP

¦^´_ 92# c_c_lai


    §Ú¤£À´ªº¬O¬°¤°»ò®É¶¡µLªk¼g¤J

TOP

¦^´_ 84# c_c_lai

®É¶¡¤º®e¬°¤°»ò¤£¯à¼g¤J??§Ú«á­±ªº­pºâ³£­n¾a®É¶¡¤º®e¤~¦³¿ìªk¹B§@¡A¥i¥H½ÐC¤jÀ°§Ú¸Ñ´b¤@¤U¶Ü??
§Úªº·Qªk¬O¦pªG¶qÅÜ°Ê´N¼g¤JB2-E2¡A³o¼Ë¤£¦æ¶Ü??§Ú­Ì³]©w¶qÅܰʤ~¼g¤J¨ä¥L¦³¨S¦³ÅÜ°ÊÀ³¸Ó¤£¼vÅT¼g¤J§a¡I

TOP

¦^´_ 91# ÂŤÑÄR¦À
"ªÅ¥Õ" ¤£À´§Aªº·N«ä¡H¯à§_¥Ã¹Ïªíµe­Óº©µe¡H

TOP

¦^´_ 84# c_c_lai

C¤j§Ú¤£¤ÓÀ´§Aªº·N«ä¡A¬°¤°»ò¦ì¬OªÅ¥Õ??§A©¹¤U¼g¤£¬O´N¦³¼Æ¦r¤F¶Ü??

TOP

¦^´_ 81# ÂŤÑÄR¦À
GBKEE ¤j¤jªºµ{¦¡¡G
ThisWorkbook¡G[code]Option Explicit

Private Sub Workbook_Open()
    Dim xRng As Range, First_Aaddres  As String, xRng_Name As String
    Dim nm As Variant
   
    Application.RTD.ThrottleInterval = 0
    Application.Calculation = xlCalculationAutomatic     '  ¦Û°Ê­«ºâ
   
    '  ²M°£¡u¦WºÙºÞ²z­û¡v¤ºªº©Ò¦³¤º®e
    For Each nm In ActiveWorkbook.Names
        nm.Delete
    Next nm
   
    With Sheets("RTD")
        '  Àɮ׶}±Ò®É ©w¸q¤F Sheets("RTD") ©Ò¦³Á`¶q DDE ¤½¦¡ªºÀx¦s®æ
        Set xRng = .Rows(2).Cells.Find("TotalVolume", LookIn:=xlFormulas)
        
        If Not xRng Is Nothing Then
            First_Aaddres = xRng.Address
            
            Do
                xRng_Name = Split(xRng.Formula, "'")(1)
                xRng_Name = "TotalVolume" & Split(xRng_Name, ".")(0)
                .Names.Add xRng_Name, xRng       '  ¦WºÙ©w¸q: ©Ò¦³Á`¶qªº DDE ¤½¦¡ªºÀx¦s®æ

TOP

¥»©«³Ì«á¥Ñ c_c_lai ©ó 2016-4-10 15:26 ½s¿è

¦^´_ 83# ÂŤÑÄR¦À
.GBKEE ¤j¤jªºµ{¦¡¤@ª½¶K¤£¤W
¦Û¦æ¬Ýµ{¦¡§a¡I

TOP

¥»©«³Ì«á¥Ñ c_c_lai ©ó 2016-4-10 15:20 ½s¿è

¦^´_ 83# ÂŤÑÄR¦À
.

TOP

¦^´_ 83# ÂŤÑÄR¦À
§Úªº³¡¤À¡G
ThisWorkbook¡G
  1. Option Explicit

  2. Private Sub Workbook_Open()
  3.     '  Nothing to do («O¯d)
  4. End Sub
½Æ»s¥N½X
shtRTD(RTD)ªí³æ:
  1. Option Explicit

  2. Private Sub Worksheet_Change(ByVal Target As Range)
  3.     '  ·í Target (Á`¶q) Äæ¦ì¦³²§°Ê®É¡A «h¥h©I¥s RecordPrice ªº¤èªk (Method)¡C
  4.    
  5.     If Target.Row = 2 And Target.Column Mod 4 = 0 Then
  6.         Call RecordPrice(Target)
  7.     End If
  8. End Sub
½Æ»s¥N½X
Module1:
  1. Option Explicit

  2. Sub RecordPrice(TG As Range)
  3.     Dim WR As Long, cts As Long
  4.    
  5.     With Sheets("RTD")
  6.         If .Range("A1") < 1 Then Exit Sub
  7.    
  8.         cts = TG.Column
  9.    
  10.         WR = .Cells(Rows.Count, cts).End(xlUp).Row + 1         '  ¨D¨ú¸Ó²§°ÊÄæ¦ìªº³Ì«á¤@µ§¬ö¿ý¦C¦ì¸m
  11.         
  12.         If WR = 3 Or .Cells(WR - 1, cts) <> .Cells(2, cts) Then
  13.             .Cells(WR, cts).Offset(, -3).NumberFormatLocal = "hh:mm:ss"   '  ³]©wÀx¦s®æ®æ¦¡ (®É¶¡)
  14.             
  15.             .Cells(WR, cts).Offset(, -2).Resize(, 3) = .Range(TG.Address).Offset(, -2).Resize(, 3).Value
  16.         End If
  17.     End With
  18. End Sub

  19. Sub ®É¶¡()
  20.     Sheets("RTD").Cells(2, 1) = WorksheetFunction.Text(Now(), "hh:mm:ss")
  21.     Application.OnTime Now() + TimeValue("00:00¡G01"), "®É¶¡"
  22. End Sub

  23. Sub Cls()
  24.     With Sheets("RTD")
  25.         .Range("A3:OK5000").ClearContents
  26.         .[A3].Select
  27.     End With
  28. End Sub
½Æ»s¥N½X

TOP

        ÀR«ä¦Û¦b : ¹ï¤÷¥À­nª¾®¦¡A·P®¦¡B³ø®¦¡C
ªð¦^¦Cªí ¤W¤@¥DÃD