LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 852
Default CUT not COPY but errors

What is making this Cut snippet error?

I've tried:

cG.Row.EntireRow.Cut
ActiveCell.EntireRow.Cut

I had it in my mind Cut or Copy could be used interchangeably.
My cheat sheet and Google are woefully short on examples.

Thanks.
Howard

With ActiveWorkbook.Worksheets("Sheet1")
Set Grng = Range("G1:G" & .Range("G" & Rows.Count).End(xlUp).Row)
For Each cG In Grng
If cG = "X" Then
cG.EntireRow.Cut
Sheets("All Other").Range("A" & Rows.Count).End(xlUp)(2).PasteSpecial
End If
Next
End With
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating copy of sheet into new file results in #REF errors Sungibungi Excel Discussion (Misc queries) 1 December 9th 09 08:52 PM
Copy column to another spreadsheet but get value errors MoCollins Excel Discussion (Misc queries) 3 November 19th 08 05:03 PM
Copy / Paste Errors Swimmer Excel Programming 1 August 9th 07 05:26 PM
Copy from recordset errors in ADO Spike Excel Programming 8 March 10th 07 10:12 PM
How avoid errors when you Copy chartobjects paste in powerpoint Gunnar Johansson[_5_] Excel Programming 0 May 8th 05 12:40 PM


All times are GMT +1. The time now is 05:48 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"