tcfthomas01
Technical User
Hello people, I have over 12,000 activities that I have to copy and paste, when I run a filter on both sheets I can only paste until the break in the filter. I am racking my brain to get this to work. I was introduced to macros' and I made a short marco:
Sub Macro31()
'
' Macro31 Macro
' Macro recorded 8/2/2009 by JR Thomas
'
' Keyboard Shortcut: Ctrl+q
'
Range("B3").Select
Application.CutCopyMode = False
Selection.Copy
Sheets("Sheet2").Select
Range("A2").Select
Sheets("Sheet1").Select
Range("K3").Select
Application.CutCopyMode = False
Selection.Copy
Sheets("Sheet2").Select
Range("C2").Select
ActiveSheet.Paste
Sheets("Sheet1").Select
Range("C4").Select
End Sub
I have a demo file if anyone would like to look at it
**Things to keep in mind:
I am running a filter on both sheets. (Visible Cells Only feature)?
I am finding a unique activity in sheet one to match sheet two then paste in sheet two assigned cell for cost.
I have it up and running for the first cell, but I can't get it to loop over and over! ANY HELP WOULD BE GREAT due to the fact I have to copy and paste each activity if not... Thanks
J.R. Thomas
Sub Macro31()
'
' Macro31 Macro
' Macro recorded 8/2/2009 by JR Thomas
'
' Keyboard Shortcut: Ctrl+q
'
Range("B3").Select
Application.CutCopyMode = False
Selection.Copy
Sheets("Sheet2").Select
Range("A2").Select
Sheets("Sheet1").Select
Range("K3").Select
Application.CutCopyMode = False
Selection.Copy
Sheets("Sheet2").Select
Range("C2").Select
ActiveSheet.Paste
Sheets("Sheet1").Select
Range("C4").Select
End Sub
I have a demo file if anyone would like to look at it
**Things to keep in mind:
I am running a filter on both sheets. (Visible Cells Only feature)?
I am finding a unique activity in sheet one to match sheet two then paste in sheet two assigned cell for cost.
I have it up and running for the first cell, but I can't get it to loop over and over! ANY HELP WOULD BE GREAT due to the fact I have to copy and paste each activity if not... Thanks
J.R. Thomas