Excel VBA Error with user access Permission.Add I wrote the following Excel macro to assign user permissions to Excel files.