|
|
To advertise on these forums, e-mail us. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
Excel Macro Help Please
882 938 0 0 0 982
918 0 0 0 0 982 246 339 421 542 697 983 258 319 399 490 790 983 471 546 635 743 872 983 These are Row examples of Columns B to G I need a Macro that will copy and paste (Special,Values) C to G onto positions B to F But only if F is greater than zero I have perhaps 2000 Rows that need doing I need a Macro that will save me manually doing this task. |
#2
|
|||
|
|||
I am confused, it looks like you want to copy an item then paste over the top of the same item.
Do you want this to copy the items one by one after looking to see if particular data equals zero?
__________________
One Drive "If the corporates are treating you poorly , just go elsewhere." "If they need you , they will soon find out." "If you need them , you will soon find out." --moeee _______________________________________________ |
#3
|
|||
|
|||
Hi Shaun
Thanks for your interest. What I have is the past 5 runs of an animal with the oldest run in Column B and the latest run in Column F As this animal has a new run , I need to introduce this new run and eliminate the run 6 starts back. So in the Worksheet , I need to move all the figures in a row , 1 to the left. If the animal only has 4 or less runs , then I dont wish to do that. EDIT: The Manual version of what I do is I look to see if the Cell in Column F is more than zero. If it is , then I select Cells C to G , and copy and paste them over the top of Cells B to F. Last edited by moeee : 5th April 2012 at 12:36 PM. |
#4
|
|||
|
|||
any chance you could post the sheet?
__________________
One Drive "If the corporates are treating you poorly , just go elsewhere." "If they need you , they will soon find out." "If you need them , you will soon find out." --moeee _______________________________________________ |
#5
|
|||
|
|||
I try
|
#6
|
|||
|
|||
xls file attachment
try this
EDIT : And as a New Meeting has concluded , I will fill in the appropriate Numbers into Column G and then do the Macro that I ain't got but at the moment I do it manually. Last edited by moeee : 5th April 2012 at 02:34 PM. |
Thread Tools | Search this Thread |
Display Modes | |
|
|