Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
GaryByrd
 
Posts: n/a
Default Module updating of Protected Cells

Is it possible to have a cell updated using a VBA module while the cell is
protected? I have a module that inputs the date/time in a field when a user
inputs information into another field. I want to protect the date/time so
that the user can not alter it. I am using Excel 2003.

Thanks for the help.
  #2   Report Post  
JulieD
 
Posts: n/a
Default

Hi

no, you'll need to unprotect the sheet, undate the cell and then re-protect
the sheet - this can all be done in code
e.g.

activesheet.unprotect "pwd"
'your code here
activesheet.protect "pwd"

use your password instead of pwd or delete if not required

Cheers
JulieD

"GaryByrd" wrote in message
...
Is it possible to have a cell updated using a VBA module while the cell is
protected? I have a module that inputs the date/time in a field when a
user
inputs information into another field. I want to protect the date/time so
that the user can not alter it. I am using Excel 2003.

Thanks for the help.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Locked cells not updating Jamie Excel Worksheet Functions 0 February 2nd 05 05:49 PM
Auto Skipping and protected cells Dave Peterson Excel Discussion (Misc queries) 6 January 27th 05 11:35 PM
Heps to design Locked/Unlocked cells in protected worksheet Kevin Excel Discussion (Misc queries) 0 December 30th 04 07:09 AM
Protected cells -automatically format to a different color Fred Evans Excel Discussion (Misc queries) 9 December 3rd 04 12:59 PM
Excel 2003 isn't updating my cells [email protected] Excel Worksheet Functions 7 November 5th 04 04:05 PM


All times are GMT +1. The time now is 05:50 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"