galbatrox9
New Member
- Joined
- Aug 30, 2017
- Messages
- 23
Hi Guys,
I have a raw excel sheet with rows of data that all have an account number in he first row. And i want to transfer those rows of data to a dedicated sheet per the account number. Now here is the thing. This i got with this code
But here comes the biggest challenge.
Raw sheet details:
I want the data to be copied to their respective sheets , but the row's data needs to be shuffled in this way
Can this be done? So the macro should do this :
-If a row that 55711 in Col. A , then copy data from column C (date) and paste in Column A of 'DeltaMan' sheet, etc etc.
Can someone please help me here.
I have a raw excel sheet with rows of data that all have an account number in he first row. And i want to transfer those rows of data to a dedicated sheet per the account number. Now here is the thing. This i got with this code
Code:
If (InStr(1, Cells(i, 1).Value, "55711") > 0) Then Rows(i).Copy
srow = ThisWorkbook.Sheets("DeltaMan").Range("A65536").End(xlUp).Row + 1
ThisWorkbook.Sheets("DeltaMan").Cells(srow, 1).PasteSpecial (xlPasteValues)
But here comes the biggest challenge.
Raw sheet details:
I want the data to be copied to their respective sheets , but the row's data needs to be shuffled in this way
Can this be done? So the macro should do this :
-If a row that 55711 in Col. A , then copy data from column C (date) and paste in Column A of 'DeltaMan' sheet, etc etc.
Can someone please help me here.