Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old December 27th 05, 12:43 PM posted to microsoft.public.excel.programming
external usenet poster
 
First recorded activity by ExcelBanter: Aug 2007
Posts: 7
Default How can I lock a single cell in an Excel following data entry?

I need to write an Excel program with secure data acquisition and need to
lock each cell following entry. Is there an easy way to do this other than
unprotecting the spreadsheet each time and identifying the new cell set to be
locked?

  #2   Report Post  
Old December 27th 05, 01:15 PM posted to microsoft.public.excel.programming
external usenet poster
 
First recorded activity by ExcelBanter: Jul 2006
Posts: 27,285
Default How can I lock a single cell in an Excel following data entry?

To the best of my knowledge, the sheet has to be unprotected at the time you
change the locked property. That said, it is trivial in code to add the
unprotect and protect commands before and after you change the locked
property of the cell.

--
Regards,
Tom Ogilvy

"JimI" wrote in message
...
I need to write an Excel program with secure data acquisition and need to
lock each cell following entry. Is there an easy way to do this other

than
unprotecting the spreadsheet each time and identifying the new cell set to

be
locked?





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
Can I lock a cell after data entry so entry can not be changed Verlinde Excel Discussion (Misc queries) 3 April 22nd 10 07:59 PM
Lock out data entry in a cell DShaver Excel Discussion (Misc queries) 1 August 27th 09 07:29 PM
lock cell conditional format but not restrict data entry GAM Excel Worksheet Functions 1 August 18th 07 06:53 AM
Lock Cell After Data Entry Ripper Excel Discussion (Misc queries) 1 February 28th 06 08:17 PM
Is there a way to lock out the format for the cell and still allow data entry and C&P? Marc New Users to Excel 1 April 4th 05 07:50 AM


All times are GMT +1. The time now is 12:53 AM.

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

About Us

"It's about Microsoft Excel"

 

Copyright © 2017