Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Copy and Paste Macro - Simplifying
Thank you in advance for any help.
I wrote the following code: Worksheets(1).Select ActiveCell.Offset(0, -4).Copy Worksheets(3).Select ActiveCell.Offset(1, -1).PasteSpecial Is there any way I could simplify this down to two lines? I am using Excel 2000. Thanks. Mike |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Copy and Paste Macro - Simplifying
For example activecell cell is column E and row is row 1, and you want to
copy the content of A1 Sheet1, and paste it to Sheet3 A1: Sheets(1).Cells(1, 1).Copy Destination:=Sheets(3).Cells(1, 1) Actually just one line. Swisse |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Copy and Paste Macro | Excel Discussion (Misc queries) | |||
Using Macro to Copy/Paste | Excel Discussion (Misc queries) | |||
Should I use a macro to copy and paste value? | Excel Worksheet Functions | |||
how to count/sum by function/macro to get the number of record to do copy/paste in macro | Excel Programming | |||
Macro to Copy/Paste then Paste to Next Line | Excel Programming |