copy and paste function

  • Thread starter Thread starter mike3004
  • Start date Start date
M

mike3004

When I copy one column to next column, the function should be auto changed to:
=F5&""&F6
=F6&""&F7
=F7&""&F8
....

But I want to change like these:
=F4&""&F5
=F4&""&F5&""&F6
=F4&""&F5&""&F6&""&F7
=F4&""&F5&""&F6&""&F7&""&F8
....
How should we set ? Or could not ?

Thanks a lot!

Mike HK
 
F G
a
b a b
c a b c
d a b c d
e a b c d e

Is this what you want?
Sub accumulate()
mystr = Cells(4, "f")
For i = 5 To Cells(Rows.Count, "f").End(xlUp).Row
mystr = mystr & " " & Cells(i, "f")
Cells(i, "g") = mystr
Next i
End Sub
 
If I understand your question correctly, consider this. Let's say your first
formula (=F5&F6) is in G5, then put this in G6 and copy down...

=G1&F7

Rick
 
I just have to see if I can trade my fingers in for a new set... they never
seem to type I am thinking anymore.<g>

Thanks for catching that David.

Rick
 
Thanks all warm reply!
Let me explain my requires, I want to access text from F4 to F100 indeed:
such as
F4 I
F5 feel
F6 so
F7 happy
....
anyone have idea?
 
Teethless mama

I try your addin fucntion , this is exactly done from my case.
Thank you!

Mike HK
 
Did you look at my macro solution? I, for one, am STILL not sure what you
want. Send a workbook to my address below if desired along with a complete
explanation of what you DO want and an example.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Copy condtional formatting in XL2007 for Windows 1
Help repeating formulas with skips 1
formula Query 2
=IF AND or OR 7
nearest match 4
Find and Length 6
adding up columns in excel 2002 5
IF Question 2

Back
Top