Simple Copy and Paste Macro but can't get it right- Help!

antonchann

New Member
Joined
Jun 3, 2015
Messages
3
Dear All,

I know that there are countless examples of copy and paste macros and I have indeed gone through them and tried to figure it out on my own, but cant seem to get it right, and my deadline for this is looming. Would greatly appreciate your help!

Basically, i want to copy Range("A1:AQ39") from Sheets("Schedule"), to Sheets("Schedule Database")
- Schedule (A)


Next, I then need to edit information from Range(A1:AQ39) again and paste again on Sheets("Schedule Database")
- Schedule (B) but not replacing the information (Schedule A) that was copied before.

So far, what i have is:

Sub Test()
'
' test Macro
'


ActiveCell.Range("A1:AQ39").Select.Cut Sheets("Schedule Database").Range("A" & Rows.Count).End(xlUp).Offset(1, 0)

Selection.PasteSpecial Paste:=xlPasteValuesAndNumberFormats, Operation:= _
xlNone, SkipBlanks:=False, Transpose:=False



End Sub


Thanks in advance!!
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
don't have Excel at the moment, try
Code:
Sub Test()
Sheets("Schedule").Range("A1:AQ39").Copy
Sheets("Schedule Database").Select
Range("A" & Rows.Count).End(xlUp).Offset(1, 0).PasteSpecial Paste:=xlPasteValuesAndNumberFormats
End Sub
 
Upvote 0
I don't understand what "Schedule A" means:
Your quote:
to Sheets("Schedule Database")
- Schedule (A)
 
Upvote 0
It was meant to denote like schedule A, B and so on which i needed to record. But anyway, its been solved based on Michael's code. Thanks anyway! appreciate it!
 
Upvote 0

Forum statistics

Threads
1,211,435
Messages
6,101,849
Members
447,758
Latest member
jojo3strada

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top