Hiall.
I put this together from bits that I found through a search. However it's not working. Can I please get some help.
I put this together from bits that I found through a search. However it's not working. Can I please get some help.
Code:
Sub AAA_Move_Data_One()
Application.ScreenUpdating = False
ActiveSheet.Unprotect Password:=""
For Each cell In Range("G3:G12")
If cell.Value = vbNullString Then
cell.Value = Range("K9")
Exit Sub
End If
Next cell
For Each cell In Range("H3:H12")
If cell.Value = vbNullString Then
cell.Value = Range("L9")
Exit Sub
End If
Next cell
Range("G28").Select
ActiveSheet.Protect Password:=""
Application.ScreenUpdating = True
End Sub
Last edited by a moderator: