LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default VBA Loop to Find then Copy & Paste

I have been trying to figure out how to loop when using a copy formulas and
then find specific words and paste ( I am also using an offset to paste below
the text I find)

Example:
Colmn Q Colmn R Colmn S
row2 =K2/I2 =(SUM(K2:K3)/(SUM(I2:I3))) =(SUM(K2:K4)/(SUM(I2:I4)))

row5 Write formulas
row10 Write formulas
row11 Write formulas
row20 Write formulas


What I am trying to get to loop is as follows:
Find copy and paste formulas Macro
' Macro recorded 4/2/2009 by BJ
'

'
Range("Q2:T2").Select
Selection.Copy
Cells.Find(What:="write formulas", After:=ActiveCell, LookIn:=xlFormulas _
, LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False, SearchFormat:=False).Activate
ActiveCell.Offset(1, 0).Select
ActiveSheet.Paste

Thank you - am pulling my hair out
--
BJH
 
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
find and replace help with copy paste Alex43 Excel Discussion (Misc queries) 1 March 17th 08 11:13 PM
Find Copy and Paste [email protected] New Users to Excel 0 July 3rd 07 02:10 PM
Find, copy and paste ufo_pilot Excel Discussion (Misc queries) 3 September 7th 06 10:34 AM
copy,paste and loop through workbook TUNGANA KURMA RAJU Excel Discussion (Misc queries) 0 December 6th 05 12:31 PM
Find and Copy loop problem BillyJ Excel Discussion (Misc queries) 3 November 2nd 05 07:16 PM


All times are GMT +1. The time now is 02:14 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"