![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Feb 2002
Posts: 31
|
Maybe I am overthinking this - but I need a macro that will allow me to copy the contents of cells A1:F5 to begin at the cell that is active when the macro is executed. I have tried creating a named range, and generating a macro, but always lose the focus of the starting cell...can anyone help resolve that problem?
|
|
|
|
|
|
#2 | |
|
Board Regular
Join Date: Feb 2002
Location: Chippenham, UK
Posts: 136
|
Quote:
Range("A1:F5").Copy ActiveCell.PasteSpecial End Sub
__________________
Regards, Gary Hewitt-Long |
|
|
|
|
|
|
#3 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Bogota, Colombia
Posts: 11,927
|
Just a little simpler...
Range("A1:F5").Copy ActiveCell |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|