Protecting Cells
Hi:
I'm pretty good with Excel but new to VBA.
I'm trying to set up a spreadsheet where a user will enter values and then the spreadsheet will respond to their inputs (using macros - user enters values, when they are done, they hit a button (Forms menu) and the changes are made). The challenge is that I'd like to be able to protect the entire sheet except for the few cells the users will enter data in. However, the protected cells cannot be changed in all of the ways I'd like them to. The types of changes I'd like protected cells to do (once the macro is invoked) are:
1. Copy-Paste
2. Change the color of the cell
3. Change the font color of the cell
4. Change formatting (e.g. bold text)
5. Add text (the macro is set up to type in the text)
If there is a way to do this, even possibly a different way than with protection, please let me know. I was reading a manual and it was explaining something about a "visible" command in VBA, but it doesn't seem to apply to individual cells, and I think it would be a work-around even if something could be done.
Thanks very much
|