- ©«¤l
 - 5923 
 - ¥DÃD
 - 13 
 - ºëµØ
 - 1 
 - ¿n¤À
 - 5986 
 - ÂI¦W
 - 0  
 - §@·~¨t²Î
 - win10 
 - ³nÅ骩¥»
 - Office 2010 
 - ¾\ŪÅv
 - 150 
 - ©Ê§O
 - ¨k 
 - ¨Ó¦Û
 - ¥xÆW°ò¶© 
 - µù¥U®É¶¡
 - 2010-5-1 
 - ³Ì«áµn¿ý
 - 2022-1-23 
 
           
 | 
                
¦^´_ 1# myleoyes  
¸Õ¸Õ¬Ý- Sub ½m²ß()
 
 -     Dim Rng As Range
 
 -     With Sheets("½m²ß")
 
 -         .[AG3] = "=AB2-SUM(AD2/2,AE2,AA3,AC3/2)": .[AI3] = "=AG3/(AA3+AC3/2)"
 
 -         Set Rng = Sheets("½m²ß").Range("V" & Rows.Count).End(xlUp)(2, 1)
 
 -         Rng = Date
 
 -         ZZ = Application.InputBox("½Ð¿é¤J¼Æ¦r", "½m²ß¸ê®Æ", Type:=1)
 
 -         If ZZ <= 0 Then Rng = "": .[AG3,AI3] = "": End
 
 -         With Rng.Cells(1, 2)    '¥ÑRngªºÄæ¦ìºâ°_²Ä2Äæ¦P¤@¦CªºÀx¦s®æ = WÄæ
 
 -             .Value = ZZ
 
 -             .Font.ColorIndex = 7
 
 -         End With
 
 - ag:
 
 -         ZZ = Application.InputBox("½Ð¿é¤J¼Æ¦r", "¼Æ¾Ú¸ê®Æ", Type:=1)
 
 -         If ZZ <= 0 Then GoTo ag
 
 -         With Rng.Cells(1, 3)   '¥ÑRngªºÄæ¦ìºâ°_²Ä3Äæ¦P¤@¦CªºÀx¦s®æ=XÄæ
 
 -             .Value = ZZ
 
 -             .Font.ColorIndex = 7
 
 -         End With
 
 -         With Rng.Cells(1, 5)    '¥ÑRngªºÄæ¦ìºâ°_²Ä4Äæ¦P¤@¦CªºÀx¦s®æ=ZÄæ
 
 -             For Each e In Array(1, 2, 4, 8, 10) '°}¦C: ¥ÑZÄæºâ°_ªºÄæ
 
 -                 With .Cells(1, e)               '¥ÑZÄæºâ°_ªºÄæ¦P¤@¦CªºÀx¦s®æ
 
 -                     .FormulaR1C1 = Cells(3, .Column).FormulaR1C1
 
 -                     If e = 4 And .Value <= 150 Then
 
 -                         .Value = 200
 
 -                         .Font.ColorIndex = 7
 
 -                     ElseIf e = 8 Then
 
 -                         .Font.ColorIndex = 10
 
 -                     ElseIf e = 10 And .Value < 0 Then
 
 -                         .Font.ColorIndex = 3
 
 -                     End If
 
 -                 End With
 
 -             Next
 
 -         End With
 
 -         .Columns("V:AI").EntireColumn.AutoFit
 
 -         '¦p¬¡¶Ã¯³]©wpºâ :¤è¦¡¬°¤â°Ê,¨º¤~¶·«ºâ¦¹¤u§@ªí.
 
 -        .Calculate  '«ºâ¦¹¤u§@ªí.
 
 -        '¦¹«ºâ ¤]³\¬O§A»{¬°°õ¦æ°_¨Óı±o«ÜºC ªº¥D¦]
 
 -      End With
 
 -      ActiveWorkbook.Save
 
 - End Sub
 
  ½Æ»s¥N½X |   
 
 
 
 |