Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Macro Help
Ok, I am having trouble with this macro. What I need it to do is: 1) Cut the currently selected line from sheet 1 (got that) 2) Paste that line in sheet to, in the NEXT available BLANK row. (Hav NO clue how to code that) HELP!!! Thank you!! : -- Schnauzin25 ----------------------------------------------------------------------- Schnauzin254's Profile: http://www.excelforum.com/member.php...fo&userid=3373 View this thread: http://www.excelforum.com/showthread.php?threadid=53509 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Macro Help
Sub CopyLine()
Dim rngTo As Range Set rngTo = Sheets("Sheet2").Cells(Rows.Count, "A").End(xlUp).Offset(1, 0) Selection.EntireRow.Copy rngTo End Sub -- HTH... Jim Thomlinson "Schnauzin254" wrote: Ok, I am having trouble with this macro. What I need it to do is: 1) Cut the currently selected line from sheet 1 (got that) 2) Paste that line in sheet to, in the NEXT available BLANK row. (Have NO clue how to code that) HELP!!! Thank you!! :) -- Schnauzin254 ------------------------------------------------------------------------ Schnauzin254's Profile: http://www.excelforum.com/member.php...o&userid=33732 View this thread: http://www.excelforum.com/showthread...hreadid=535097 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Macro recorded... tabs & file names changed, macro hangs | Excel Worksheet Functions | |||
Macro Help Needed - Excel 2007 - Print Macro with Auto Sort | 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 delete entire rows when column A is blank ...a quick macro | Excel Programming | |||
Start Macro / Stop Macro / Restart Macro | Excel Programming |