Hello M0llydog.
I can answer 2 of your questions. The macro will not affect the cells that are unlocked, and your password can be included in the macro. I chose the default of no password since you did not indicate otherwise. Insert your password in the code where it is marked in red. Be sure to enclose it in quotes.
As for the rest of your request, I am not sure you have all the details thought out. When you do, please post a sample of how the data will appear on the worksheet or post a picture of the worksheet.
Sincerely,
Leith Ross
Bookmarks