Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
Im trying to do something that is more advanced of my elementary VBA skills. I would like to create a procedure (macro) that would copy Row 2 and paste it according to the value in cell B2. (B2 being the row number to paste to). IE: If B2 says 11. The macro would copy Row 2 , then paste to Row 11. Row 2 will always be the Row that is copied. But the value in B2 can change to another row reference. Im just learning VBA for Excel and have figured out the Row(2) , Select, Copy, Paste part. But not sure how to word the code as reference to B2. My attempts have not worked. Thank you for your time on this, Amy |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How will hyperlink cell reference update after copy paste? | Excel Worksheet Functions | |||
Copy & Paste Forumla - but reference cell is changing | Excel Discussion (Misc queries) | |||
copy-paste started misbehaving (cell reference wrong) | Excel Discussion (Misc queries) | |||
Reference an identical cell on a different page using copy/paste? | Excel Worksheet Functions | |||
Copy and Paste macro needs to paste to a changing cell reference | Excel Programming |