Hi
This is code wrriten by Rajan verma, it is small issues is there when
Filter  Collection journal in data sheet   it will not pickup all
collection journal data  in my out put sheet  what is issues below code



Dim rngRowData  As Range
    Dim rngCell     As Range
    Dim wksOutPut   As Worksheet
    Set wksOutPut = ThisWorkbook.Worksheets("Output")

    Set rngRowData = Range("rngRowData").CurrentRegion
        rngRowData.AutoFilter Field:=2, Criteria1:="Collection Journal"
        Set rngRowData = rngRowData.SpecialCells(xlCellTypeVisible)
        Set rngRowData = Intersect(rngRowData, rngRowData.Offset(1))
        With Range("rngCollStart")

            .Resize(Range("rngCollStart").CurrentRegion.Rows.Count,
6).ClearContents
            .Resize(rngRowData.Rows.Count - 1, 1).Value =
rngRowData.Columns(3).Value
            .Offset(, 1).Resize(rngRowData.Rows.Count - 1, 1).Value =
rngRowData.Columns(1).Value
            .Offset(, 2).Resize(rngRowData.Rows.Count - 1, 1).Value =
rngRowData.Columns(7).Value
            .Offset(, 3).Resize(rngRowData.Rows.Count - 1, 1).Value =
rngRowData.Columns(5).Value
            .Offset(, 4).Resize(rngRowData.Rows.Count - 1, 1).Value =
rngRowData.Columns(6).Value
            .Offset(, 5).Resize(rngRowData.Rows.Count - 1, 1).Value =
rngRowData.Columns(8).Value
        End With
        rngRowData.AutoFilter

Regards
chandru

-- 
FORUM RULES (986+ members already BANNED for violation)

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.

2) Don't post a question in the thread of another member.

3) Don't post questions regarding breaking or bypassing any security measure.

4) Acknowledge the responses you receive, good or bad.

5)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.

------------------------------------------------------------------------------------------------------
To post to this group, send email to excel-macros@googlegroups.com

Attachment: CASHFLOW.xlsm
Description: Binary data

Reply via email to