Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() sub trythis() with sheets("destsheetname") lr=.cells(rows.count,"a").end(xlup).row+1 range("sourcerange").copy .cells(lr,"a") end with -- Don Guillett Microsoft MVP Excel SalesAid Software "mr_skot" wrote in message oups.com... On Oct 30, 7:54 am, "Don Guillett" wrote: Do it withOUT selections range("sourcerange").copy sheets("destsheet").range("destinationrange") -- Don Guillett Microsoft MVP Excel SalesAid Software "mr_skot" wrote in message oups.com... Thank you for the reply. One more question. So I should test for a valid target row before performing the paste? Something along the lines of: -Get the source row -Check for clear target row -Set valid target row -Copy source row -Paste to valid target row Something like this? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Copy from one Sheet and paste on another sheet based on condition | Excel Discussion (Misc queries) | |||
Bug when Sheet Protection Activated | Excel Programming | |||
Macro to run when sheet activated | Excel Programming | |||
Active Cell Copy And Paste Sheet to Sheet | New Users to Excel | |||
automatic copy and paste from sheet to sheet in a workbook | Excel Programming |