Wrox Programmer Forums
|
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 13th, 2004, 11:45 AM
Registered User
 
Join Date: Feb 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
 
Old February 20th, 2004, 11:55 AM
Authorized User
 
Join Date: Feb 2004
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Are you still having this problem?

Dave





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 9 Protecting Your Pages malhyp Dreamweaver (all versions) 1 August 20th, 2005 04:14 AM
Protecting Folder itHighway Classic ASP Databases 1 December 16th, 2004 11:55 PM
Protecting Folder itHighway Classic ASP Components 0 December 15th, 2004 11:48 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.