G’day Excel Forum
I'm having some trouble augmenting a bit of VBA code and I'm hoping someone can help me out
I would like to be able to add passwords to multiple sheets within a workbook.
I’ve found a code online that has allowed me to add a single password to a single sheet (the ‘database’ sheet in the attached example) however I’ve been unable to work out how to modify it to work for other sheets in the same workbook.
In the attached workbook the code can be found in the ‘ThisWorkbook’ excel object, ideally I’d like to add passwords to sheets T1, T2 and T3 sheets as well, however I can’t work out how to modify the code to do this.
Has anyone any idea how to do this?
Cheers for any advice
Regards
MattRNR
P.S. I've also been having some trouble putting attachments onto this forum so here's hoping there is actually an attachment on here (incidentally I was able to get the attachments to work while using excel general and didn't wan't to waste the forums spontaneous decision to work so appologies for not posting on the VBA specific page)
Bookmarks