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

excel ³ø»ùªí³æ¤W¿é¤J¤£¦PªºItem¦p¦ó±a¤J¤£¦Pªº¹Ï¤ù

¦^´_ 16# GBKEE


    ¥i¥H¤F,ÁÂÁÂ

TOP

¦^´_ 16# GBKEE


ª©¥D,½Ð°Ý§Ú¦bªí³æ¤W­×§ï«áª½±µÀx¦s¨ì¬Û¹ïÀ³ªºÀx¦s®æ®É,¦pªG­n¦b¤£¼vÅT¨ìFOB-¬üª÷,FOB-¼Ú¤¸,Á`»ù,20§`Âd,40§`Âd¤º­ì¥»ªººâ­p¤½¦¡®É,¨Ã¯à§Y®ÉÅã¥Ü­×§ï«á­pºâªºµ²ªG®É
µ{¦¡¸Ó¦p¦ó­×§ï

³ø»ù³æ.rar (28.89 KB)

TOP

¦^´_ 19# GBKEE


ª©¥D¤£¦n·N«ä,Á`»ùÀ³¸Ó=(J:AA)ªº¥[Á`
                               °l¥[Äæ¦ì¤u®É=30000*10/20/1000*D/C
µ{¦¡½XÀ³¸Ó¦b­þùحקï
¸Õ¥Î«á¦pªG³f¸¹±q11­Ó§R¨ì²Ä2­Ó®É·|¥X²{µLªk³]©wListÄݩʸӦp¦ó­×§ï

­ì¥».JPG (210.98 KB)

­ì¥».JPG

§R°£.JPG (193.69 KB)

§R°£.JPG

¿ù»~.JPG (150.69 KB)

¿ù»~.JPG

³ø»ùªí³æ.rar (25.25 KB)

TOP

¦^´_ 21# GBKEE

ª©¥D§A¦n,§ÚFOB¬üª÷ªº´«ºâ·Q§ï¦¨=ROUND(Á`»ù/¬üª÷¶×²v/¤ò§Q²v(°l¥[TextBox38),2)
                                ¼Ú¤¸ªº´«ºâ·Q§ï¦¨=ROUND(Á`»ù/¼Ú¤¸¶×²v/¤ò§Q²v(°l¥[TextBox38),2)        
¤U­±ªºµ{¦¡­n¦p¦ó°l¥[¤ò§Q²v(°l¥[TextBox38)³o¦UÄæ¦ì
Private Sub TextBox7_Change()    'Á`»ù
    If Val(Trim(TextBox7)) <> 0 Then
        If Val(Trim(TextBox5)) <> 0 And Val(Trim(TextBox36)) = 0 Then TextBox36 = Application.WorksheetFunction.Round(TextBox7 / TextBox5, 2)
                                                                                '=ROUND(Á`»ù/¬üª÷¶×²v/¤ò§Q²v(°l¥[),2)
        If Val(Trim(TextBox6)) <> 0 And Val(Trim(TextBox37)) = 0 Then TextBox37 = Application.WorksheetFunction.Round(TextBox7 / TextBox6, 2)
                                                                                '=ROUND(Á`»ù/¬üª÷¶×²v/¤ò§Q²v(°l¥[),2)
        If Val(Trim(TextBox36)) <> 0 Then TextBox5 = Application.WorksheetFunction.Round(TextBox7 / TextBox36, 2) 'Á`»ù*¬ü¤¸¶×²v
        If Val(Trim(TextBox37)) <> 0 Then TextBox6 = Application.WorksheetFunction.Round(TextBox7 / TextBox37, 2) 'Á`»ù*¼Ú¤¸¶×²v
    ElseIf Val(Trim(TextBox7)) = 0 Then
        TextBox5 = ""
        TextBox6 = ""
    End If
    If Msg Then ¨¾§b
End Sub
Private Sub TextBox36_Change()
    If Val(Trim(TextBox7)) <> 0 And Val(Trim(TextBox36)) <> 0 Then
        TextBox5 = Application.WorksheetFunction.Round(TextBox7 / TextBox36, 2)
        '=ROUND(G2/30,2)
    ElseIf Val(Trim(TextBox7)) <> 0 And Val(Trim(TextBox5)) <> 0 Then
        TextBox5 = TextBox7
    End If
End Sub
Private Sub TextBox37_Change()
    If Val(Trim(TextBox7)) <> 0 And Val(Trim(TextBox37)) <> 0 Then
        TextBox6 = Application.WorksheetFunction.Round(TextBox7 / TextBox37, 2)
        '=ROUND(G2/40,2)
    ElseIf Val(Trim(TextBox7)) <> 0 And Val(Trim(TextBox6)) <> 0 Then
        TextBox6 = TextBox7
    End If
End Sub

¥¼©R¦W.JPG (76.61 KB)

¥¼©R¦W.JPG

TOP

¦^´_ 21# GBKEE


    ªþ¤WÀÉ®×

³ø»ùªí³æ-2.rar (29.48 KB)

TOP

¦^´_ 21# GBKEE

ª©¥D§A¦n,¦b·s¼WITEM®É¥u¯à¥´¼Æ¦r·s¼W,§ï¦¨¤å¦r®É´N¤£¯à·s¼W
³o­n¦p¦ó­×§ï???

TOP

¦^´_ 25# GBKEE


    Sub ¨¾§b()  '­nµ¹ª«¥óÃþ§O¼Ò²Õ©I¥s,¤£¥i¥Î Private
    Dim A As Variant, i As Integer, Rng As Range, AR(1 To 2)
    CommandButton1.Enabled = False          '¤£¥i·s¼W
    CommandButton2.Enabled = False          '¤£¥i­×§ï
    CommandButton3.Enabled = False          '¤£¥i§R°£
    A = Application.Match(Val(ComboBox1), Application.Transpose(ComboBox1.List), 0)
    If (IsNumeric(A) And ComboBox1.ListIndex = -1) Or ComboBox1.ListIndex > -1 Then
        CommandButton3.Enabled = True       '¥i¥H§R°£
    End If
    For i = 2 To 35
        If i <= 33 Then
            If i <= 7 Then AR(1) = AR(1) & "," & Trim(Controls("TextBox" & i))
            'Ar(1): °O¿ý -> Description,½c,Cuft,FOB-¬üª÷,FOB-¼Ú¤¸,Á`»ù'¦bªí³æªº¸ê®Æ
            If Controls("TextBox" & i).BackColor = vbRed Then
                CommandButton1.Enabled = False      '¤£¥i·s¼W
                CommandButton2.Enabled = False      '¤£¥i­×§ï
                Exit Sub                            'Â÷¶} [¨¾§b]³oµ{¦¡
            End If
        End If
        If IsNumeric(A) Then AR(2) = AR(2) & Trim(Controls("TextBox" & i))  'Ar(2): °O¿ý -> ªí³æªº©Ò¦³¸ê®Æ
    Next
    If IsError(A) And IsNumeric(Trim(ComboBox1)) And InStr(AR(1) & ",", ",,") = 0 Then CommandButton1.Enabled = True ¬O±q³o¸Ì§ï¶Ü?
                    'IsError(A) :Trim(ComboBox1 ¤£¦b ComboBox1.LIST ¤¤, ¥i¥H·s¼W
                    'IsNumeric(Trim(ComboBox1)) µø¼Æ¦r                , ¥i¥H·s¼W
                    'InStr(Ar(1) & ",", ",,") = 0 ->¨S¦³ªÅ¥Õ          , ¥i¥H·s¼W
    If IsNumeric(A) And Msg_Data <> AR(2) Then CommandButton2.Enabled = True '¥i¥H­×§ï
End Sub

TOP

¦^´_ 25# GBKEE


ª©¥D§A¦n,§Ú±NIsNumeric (Àˬd¬O§_¬°¼Æ¦r)§ï IsText³o¼Ë¤£¹ï¶Ü

If IsError(A) And IsText(Trim(ComboBox1)) And InStr(AR(1) & ",", ",,") = 0 Then CommandButton1.Enabled = True

TOP

¦^´_ 28# GBKEE

ª©¥D§A¦n,§ÚFOB¬üª÷ªº´«ºâ·Q§ï¦¨=ROUND(Á`»ù/¬üª÷¶×²v/¤ò§Q²v(°l¥[TextBox38),2)
                                ¼Ú¤¸ªº´«ºâ·Q§ï¦¨=ROUND(Á`»ù/¼Ú¤¸¶×²v/¤ò§Q²v(°l¥[TextBox38),2)        
¤U­±µ{¦¡­×§ï¦¨³o¼Ë¹ï¶Ü?
Private Sub TextBox7_Change()    'Á`»ù
    If Val(Trim(TextBox7)) <> 0 Then
        If Val(Trim(TextBox5)) <> 0 And Val(Trim(TextBox36)) = 0 And Val(Trim(TextBox38)) <> 0 Then TextBox36 = Application.WorksheetFunction.Round(TextBox7 / TextBox5 / TextBox38, 2)
        If Val(Trim(TextBox5)) <> 0 And Val(Trim(TextBox36)) = 0 And Val(Trim(TextBox38)) <> 0 Then TextBox38 = Application.WorksheetFunction.Round(TextBox7 / TextBox5 / TextBox38, 2)
                                                                                '=ROUND(Á`»ù/¬ü¤¸¶×²v/¤ò§Q²v,2)
        If Val(Trim(TextBox6)) <> 0 And Val(Trim(TextBox37)) = 0 And Val(Trim(TextBox38)) <> 0 Then TextBox37 = Application.WorksheetFunction.Round(TextBox7 / TextBox6 / TextBox38, 2)
        If Val(Trim(TextBox6)) <> 0 And Val(Trim(TextBox37)) = 0 And Val(Trim(TextBox38)) <> 0 Then TextBox38 = Application.WorksheetFunction.Round(TextBox7 / TextBox6 / TextBox38, 2)
                                                                                '=ROUND(Á`»ù/¼Ú¤¸¶×²v/¤ò§Q²v,2)

        
        
        If Val(Trim(TextBox36)) <> 0 Then TextBox5 = Application.WorksheetFunction.Round(TextBox7 / TextBox36 / TextBox38, 2) 'Á`»ù*¬ü¤¸¶×²v*¤ò§Q²v
        If Val(Trim(TextBox38)) <> 0 Then TextBox5 = Application.WorksheetFunction.Round(TextBox7 / TextBox36 / TextBox38, 2) 'Á`»ù*¬ü¤¸¶×²v*¤ò§Q²v
        
        If Val(Trim(TextBox37)) <> 0 Then TextBox6 = Application.WorksheetFunction.Round(TextBox7 / TextBox37 / TextBox38, 2) 'Á`»ù*¼Ú¤¸¶×²v*¤ò§Q²v
        If Val(Trim(TextBox38)) <> 0 Then TextBox6 = Application.WorksheetFunction.Round(TextBox7 / TextBox37 / TextBox38, 2) 'Á`»ù*¼Ú¤¸¶×²v*¤ò§Q²v
     
    ElseIf Val(Trim(TextBox7)) = 0 Then
        TextBox5 = ""
        TextBox6 = ""
    End If
    If Msg Then ¨¾§b
End Sub
Private Sub TextBox36_Change()
    If Val(Trim(TextBox7)) <> 0 And Val(Trim(TextBox36)) <> 0 Then
        TextBox5 = Application.WorksheetFunction.Round(TextBox7 / TextBox36, 2)
        '=ROUND(Á`»ù/¬ü¤¸¶×²v/¤ò§Q²v,2)
    ElseIf Val(Trim(TextBox7)) <> 0 And Val(Trim(TextBox5)) <> 0 Then
        TextBox5 = TextBox7
    End If
End Sub
Private Sub TextBox37_Change()
    If Val(Trim(TextBox7)) <> 0 And Val(Trim(TextBox37)) <> 0 Then
        TextBox6 = Application.WorksheetFunction.Round(TextBox7 / TextBox37, 2)
        '=ROUND(Á`»ù/¼Ú¤¸¶×²v/¤ò§Q²v,2)
    ElseIf Val(Trim(TextBox7)) <> 0 And Val(Trim(TextBox6)) <> 0 Then
        TextBox6 = TextBox7
    End If
End Sub
Private Sub TextBox38_Change()
    If Val(Trim(TextBox7)) <> 0 And Val(Trim(TextBox36)) <> 0 And Val(Trim(TextBox38)) <> 0 Then
        TextBox5 = Application.WorksheetFunction.Round(TextBox7 / TextBox36 / TextBox38, 2)
        '=ROUND(Á`»ù/¬ü¤¸¶×²v/¤ò§Q²v,2)
    ElseIf Val(Trim(TextBox7)) <> 0 And Val(Trim(TextBox5)) <> 0 Then
        TextBox5 = TextBox7
    End If
    If Val(Trim(TextBox7)) <> 0 And Val(Trim(TextBox37)) <> 0 And Val(Trim(TextBox38)) <> 0 Then
        TextBox6 = Application.WorksheetFunction.Round(TextBox7 / TextBox37 / TextBox38, 2)
        '=ROUND(Á`»ù/¼Ú¤¸¶×²v/¤ò§Q²v,2)
    ElseIf Val(Trim(TextBox7)) <> 0 And Val(Trim(TextBox6)) <> 0 Then
        TextBox6 = TextBox7
    End If
End Sub

¥¼©R¦W.JPG (76.61 KB)

¥¼©R¦W.JPG

TOP

        ÀR«ä¦Û¦b : ¬°¤H³B¥@­n¤p¤ß²Ó¤ß¡A¦ý¤£­n¡u¤p¤ß²´¡v¡C
ªð¦^¦Cªí ¤W¤@¥DÃD