Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() I am trying to categorise different information into different sheets within the same file. A B C D E 1 000514329214734 29/06/2006 INEXC 0740 INLAND EXCHANGE COMM 2 000514329214734 29/06/2006 7100 0740 424280606 * 3 000514329214734 29/06/2006 RINEXC 0740 INLAND EXCHANGE COMM 4 000514329214734 29/06/2006 7100 0740 424290606 * 5 000514329214734 29/06/2006 RTNCHQSR 0740 INLAND EXCHANGE COMM 6 000514329214734 29/06/2006 7100 0740 424290606 * 7 000514329214734 29/06/2006 INEXC 0105 INLAND EXCHANGE COMM I have using the following macro command but somehow or rather it does not work. I wanted to transfer all the "INEXC", "RINEXC","RTNCHQSR" in column C to another new sheet named as "Chrg". Is my command wrong? lastrow = WorksheetFunction.Count(Columns(10)) For i = 1 To lastrow If Cells(i, 3) = "INEXC" Or Cells(i, 3) = "RINEXC" _ Or Cells(i, 3) = "RTNCHQSR" Or Cells(i, 3) = "RTNCHQSC" _ Then Range(i & ":" & i).Cut Sheets("Chrg").Range("A" & j) j = j + 1 End If Appreciate for assistance |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to update data from multiple sheets to one specific sheets | Excel Discussion (Misc queries) | |||
Multiple Sheets (Need to create 500 individual sheets in one workbook, pulling DATA | Excel Worksheet Functions | |||
Categorised / Stacked column chart | Charts and Charting in Excel | |||
In 3 active sheets in wkbk, determine& display the # of sheets that have data | Excel Discussion (Misc queries) | |||
populating sheets based on data from parent sheets | Excel Discussion (Misc queries) |