Thanks again guys!!!
One last help I need. I found the problem last night, nothing to do with the password thing you gave to me, but it is to do with sheet protecting.
When I protect a sheet, I know you can't enter data, unless you format the cell not to be locked. But what I am trying to do, is when I enter data from another sheet into the protected sheet, into the cells that are not locked, I want a macro to select the cells that has just been entered and then re-format the cells so that it is now locked. I can lock the first cell selected, but after that, I don't know how to lock the rest of the cells under that. This is what my marco looks like at the moment.
Sub Automatic()
'Application.ScreenUpdating = False
Dim Name, Name1, Name2, Name3, Name4
Sheets("Sheet1"

.Select
Range("D4"

.Select
Name = ActiveCell.Offset(1, 0).Value
Name1 = ActiveCell.Offset(2, 0).Value
Name2 = ActiveCell.Offset(3, 0).Value
Name3 = ActiveCell.Offset(4, 0).Value
Name4 = ActiveCell.Offset(5, 0).Value
For x = 1 To 5
ActiveCell.Offset(0, x).Value = ""
Next x
Sheets("Sheet2"

.Select
myrow = ActiveCell.Row
mycol = ActiveCell.Column
ActiveCell.Offset(-myrow + 5, -mycol + 6).Select
Do Until ActiveCell.Value = ""
ActiveCell.Offset(0, 1).Select
Loop
'locking cells
Selection.Locked = True
Selection.FormulaHidden = False
ActiveCell.Value = Name
ActiveCell.Offset(1, 0).Value = Name1
ActiveCell.Offset(2, 0).Value = Name2
ActiveCell.Offset(3, 0).Value = Name3
ActiveCell.Offset(4, 0).Value = Name4
Sheets("Sheet1"

.Select
'Application.ScreenUpdating = False
End Sub
-------------
Is there a way of doing this, or can this be done???
Thanks again for all the help I am recieving. You have been just a big help to me.
Rich.