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: 70
Default Cut Contents and Paste

I am trying to create a macro that will search every cell in Column A for
ZRP3 when it finds these contents cut the entire row it exists in up to
column L, and paste all the rows that got copied into a new worksheet. This
what I have written so far but its not quite doing the job

Sub CutContentsandPaste()
Range("A1").Select
ActiveCell.FormulaR1C1[-1]= "ZRP3"
Range("A:L").Select
Selection.Cut
Sheets.Add
ActiveSheet.Paste
End Sub

 
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
Paste contents, but keep formula of destination cynteeuh Excel Discussion (Misc queries) 2 November 19th 09 10:38 PM
Paste or insert data before and after cel contents New Expressor Excel Discussion (Misc queries) 4 February 17th 09 07:41 PM
Copy and paste contents of one sheet into another Darin Kramer Excel Programming 1 August 20th 07 05:54 PM
copy and paste contents of sheet [email protected] Excel Programming 1 November 15th 06 04:02 PM
paste contents from other spreadsheet JohnT Excel Worksheet Functions 3 February 8th 05 03:30 PM


All times are GMT +1. The time now is 04:30 AM.

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

About Us

"It's about Microsoft Excel"