Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 13th, 2004, 11:45 AM
Registered User
Join Date: Feb 2004
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Protecting Cells


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
Reply With Quote
  #2 (permalink)  
Old February 20th, 2004, 11:55 AM
Authorized User
Join Date: Feb 2004
Location: Sacramento, CA, USA.
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts

Are you still having this problem?

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

All times are GMT -4. The time now is 03:50 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.