Copy Paste Answer.xls |
---|
|
---|
| A | B | C | D |
---|
1 | | | 1 | 1 |
---|
2 | | | 2 | 2 |
---|
3 | | | 3 | 3 |
---|
4 | 1 | 1 | 1 | |
---|
5 | 2 | 3 | 6 | |
---|
|
---|
Erik,
I'm so sorry to bother you again, but I still have a problem....my 2 year search continues..although I think you will find the solution....
This is the current problem...
Your last code:
Option Explicit
Private Sub Worksheet_Change(ByVal Target As Range)
Dim cell As Range
If Target.Column<> 3 Then Exit Sub
For Each cell In Target
If cell.Offset(0, 1) = "" Then cell.Offset(0, 1) = cell
Next cell
End Sub
works fine with everything except when there is a formula in the cell.....please see example....
When I enter values in c1, c2, or c3 (no formulas in these cells) the values get copied into d1, d2, and d3 without problems...
Cells c4 and c5 have formulas: and once the values are entered into a4 and b4 and a5 and b5 the results show up in c4and c5....but are not copied into d4 and d5!!!!!
I believe this is because d4 and d5 see the cells c4 and c5 as containing some type of values already.......
Perhaps trying to set up - copy only if there is a text or value >0 in the cell??
Thanks