hi I am new with macros so above VBA could be entirely wrong
I want VBA to copy from column E only cells that have value and than paster values to column D
if any cells have no value than it shouldnt copy
I want VBA to copy from column E only cells that have value and than paster values to column D
if any cells have no value than it shouldnt copy
Code:
Sub test2()
Sheets(Array("Sheet3", "Sheet2")).Select
Range("E5").Select
Do While ActiveCell.Value <> ""
'ActiveCell.Offset(0, -2).Resize(1, ActiveCell.CurrentRegion.Columns.Count).Select
Selection.Copy
Range("d5").Select
Selection.PasteSpecial Paste:=xlPasteValues
Range("E5").Select
'ActiveCell.Offset(0, 2).Select
ActiveCell.Offset(1, 0).Select
Loop
End Sub