Home |
Search |
Today's Posts |
#8
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How did you get this to work when wsDestination is undefined??
"davidm" wrote in message ... Your code works fine for me. Let me however observe that you could do with some simplification, weeding out the intermediate assignments. See: Sub copyOver() Dim n As Long n = Sheets("GRADE").Cells(Rows.Count, 2).End(xlUp).Row Sheets("GRADE").Range("B12:F" & n).Copy Sheets(wsDestination).Range("B12") End sub -- davidm ------------------------------------------------------------------------ davidm's Profile: http://www.excelforum.com/member.php...o&userid=20645 View this thread: http://www.excelforum.com/showthread...hreadid=399357 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel 2007 Crashed - All Hyperlinks broken | Excel Discussion (Misc queries) | |||
How do I re-download Excel onto my computer (it crashed)? | Excel Discussion (Misc queries) | |||
Excel Crashed Terribly | Excel Discussion (Misc queries) | |||
Excel Copy Method Failing. | Excel Programming | |||
Excel workbook crashed | Excel Worksheet Functions |