Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I need to cut data from one sheet and paste it to another. The column
numbers always remain the same, but the number of rows will vary. The following works, but the problem is that there is a command button in the range (on sheet "test") that I do not want to be included in the cut/paste. Is there a way to exclude it? For the data, I need to both the values and the formatting. TIA, Patti Sub cutNpaste() ' works, but includes command button imbedded on sheet "test" With Sheets("test") Range("a:o").EntireColumn.Cut _ Destination:=Sheets("myDest").Range("a1") End With End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Paste and Paste Special No Longer Working - Excel 2003 | Excel Discussion (Misc queries) | |||
In Excel: add a Paste-Special Option to paste IN REVERSE ORDER. | Excel Worksheet Functions | |||
Excel cut/Paste Problem: Year changes after data is copy and paste | Excel Discussion (Misc queries) | |||
How do I capture user paste action and convert to Paste Special | Excel Programming | |||
Macro to Paste to specific line, and continue to Paste each time on next row not over | Excel Programming |