Macro Magic
Closed
Enisea
Posts
1
Registration date
Sunday August 23, 2009
Status
Member
Last seen
September 7, 2009
-
Sep 7, 2009 at 09:37 PM
Excelguru Posts 261 Registration date Saturday April 11, 2009 Status Member Last seen June 21, 2011 - Sep 11, 2009 at 11:51 PM
Excelguru Posts 261 Registration date Saturday April 11, 2009 Status Member Last seen June 21, 2011 - Sep 11, 2009 at 11:51 PM
Related:
- Macro Magic
- Partition magic - Download - Storage
- Black magic speed test - Download - Diagnosis and monitoring
- Lg magic remote subtitles shortcut - Guide
- File magic license key - Download - Other
- Magic video converter 8.0.2.18 free download - Download - Video converters
3 responses
Excelguru
Posts
261
Registration date
Saturday April 11, 2009
Status
Member
Last seen
June 21, 2011
307
Sep 8, 2009 at 12:08 AM
Sep 8, 2009 at 12:08 AM
Dear Enisea
Now with your code you have copied and pasted
Add the same code with changes for deletion at the end of the procedure (include c.EntireRow.delete instead of copy, exclude all pastespecial statements)
Try deleting from last row to first row if you face any difficulty
Now with your code you have copied and pasted
Add the same code with changes for deletion at the end of the procedure (include c.EntireRow.delete instead of copy, exclude all pastespecial statements)
Try deleting from last row to first row if you face any difficulty
Excelguru
Posts
261
Registration date
Saturday April 11, 2009
Status
Member
Last seen
June 21, 2011
307
Sep 9, 2009 at 02:51 AM
Sep 9, 2009 at 02:51 AM
Use Range("SomeSource").Cut Destination:=Range("SomeDestn")
Excelguru
Posts
261
Registration date
Saturday April 11, 2009
Status
Member
Last seen
June 21, 2011
307
Sep 11, 2009 at 11:51 PM
Sep 11, 2009 at 11:51 PM
try yourself
Columns("B:B").Cut Destination:=Columns("D:D")
Columns("B:B").Cut Destination:=Columns("D:D")
Sep 9, 2009 at 10:28 PM
Is this what your talking about?
Sub MoveMerchant()
Dim rng As Range, c As Range, dest As Range
With Worksheets("SUBMISSIONS")
Set rng = Range(.Range("H5"), .Cells(Rows.Count, "H").End(xlUp))
For Each c In rng
If c = "FUNDED" Then
c.EntireRow.Copy
With Worksheets("FUNDINGS")
Set dest = .Cells(Rows.Count, "a").End(xlUp).Offset(1, 0)
dest.Paste
c.EntireRow.Delete
End With
ElseIf c = "DENIED" Then
c.EntireRow.Copy
With Worksheets("DENIALS")
Set dest = .Cells(Rows.Count, "a").End(xlUp).Offset(1, 0)
dest.Paste
c.EntireRow.Delete
End With
End If
Next c
End With
Application.CutCopyMode = False
End Sub
This is not working.