pasting data in different columns
One idea/logic to approach this problem but unable to programme it as
i am a novice
1] why dont we insert an empty cell above the value which gives
whenevr "D" 10
"D" = Sqr((r.Value - r.Offset(-1, 0).Value) ^ 2 + (r.Offset(0,
1).Value - r.Offset(-1, 1).Value) ^ 2)
say if "D" = 11 for cell a90 , b90 & a 91 , b91 value......then insert
cell above a91 and b 91
similarly wherevr we get "d" 10
2} Now the second part, copy all the value before first empty cel
occurs say in row a91 empty cell ocurs so code shud copy all values
above empty cell n paste the a1:b91 values in col.c n col.d [c1:d91]
like wise if again empty cell occur at a140 then copy values from
a92:b139 n paste them to col .e & col.f [E1:F47]
i hop now the prblem its quite clear plz suggest some vba code/ideas
if u hav n some sites from wher i can learn such kinda code
many thanx
|