Posts by etheer

    I Need Help Me FiX Code Copy And Paste Work Automatically



    Code
    [/COLOR]Private Sub Worksheet_Calculate()    Dim c As Range    Application.EnableEvents = False         If Not Intersect(Target, Me.Columns(1)) Is Nothing Then                 If Target.Value > 1000 Then                         Me.Cells(Target.Row, Me.Columns.Count).End(xlToLeft).Offset(0, 1).Value = Target.Value        End If    End If     ws_exit:    Application.EnableEvents = TrueEnd Sub[COLOR=#333333]

    [/COLOR]

    Hi
    I Need Help Edit Code Vba Export Taple Excel To Database Mysql




    How edit code insert column A To column AJ
    cell 1 to 164

    Re: VBA code to copy and paste


    Hi
    I edit code


    Code
    Sheets("ACCOUNT").Range("K7:K180,L7:L180,AI7:AI180,AJ7:AJ180,AK7:AK180,AL7:AL180,AM7:AM180,AN7:AN180,AO7:AO180").ClearContents
    Sheets("ACCOUNT2").Range("J7:J184,K7:K184,L7:L184,M7:M184,N7:N184,O7:O184,P7:P184,Q7:Q184,R7:R184,S7:S184,T7:T184").ClearContents
    Sheets("Account3").Range("D4").Copy Sheets("Account3").Range("B4")


    Working code but i need past value

    Hi
    I have vba code clean cells i need edit code clean cells and copy and past
    THis code


    Code
    Sub clean()
    Sheets("ACCOUNT").Range("K7:K180,L7:L180,AI7:AI180,AJ7:AJ180,AK7:AK180,AL7:AL180,AM7:AM180,AN7:AN180,AO7:AO180").ClearContents
    Sheets("ACCOUNT2").Range("J7:J184,K7:K184,L7:L184,M7:M184,N7:N184,O7:O184,P7:P184,Q7:Q184,R7:R184,S7:S184,T7:T184").ClearContents
    End Sub


    I need copy cell D4 and past in cell B4


    Name sheet ACCOUNT3

    Re: I Need Help Vba Code Automatically Sort Rows


    I have this code work very good skip rows
    i need it also sort rows lagre to small by data in column D


    Private Sub Hide_Unhide()
    Application.Calculation = xlCalculationManual
    Application.ScreenUpdating = False
    For i = 7 To 2400
    Rows(i).Hidden = (Cells(i, "G").Value = 0) + (Cells(i, "B").Value = "")
    Next i
    Application.Calculation = xlCalculationAutomatic
    Application.ScreenUpdating = True
    End Sub


    Please help me

    Re: Automatically change cell value based on other cell value


    Hi Mumps
    Why only code works when the show sheet if hidden or do not show it the code does not work