Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Allow user input, but not format changes

Is there a way using VB to allow user input in a cell, but not allow
them to reformat that cell?

Thanks in advance!
Laura

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Allow user input, but not format changes

If you leave the cell unlocked (format|cells|protection tab)
then protect the worksheet (tools|protection|protect sheet)

Then you'll see that this is the usual behavior.

wrote:

Is there a way using VB to allow user input in a cell, but not allow
them to reformat that cell?

Thanks in advance!
Laura


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Allow user input, but not format changes

That isn't what is happening. I have the worksheet locked, and the
cell unlocked. The user needs to input a 4 digit year, however, when
I'm testing and I put in a date with slashes, the field changed to be a
date field. Now, no matter what I put in that field, it changes it to
a date. Like if I type in 2005, Excel changes it to 06/27/1905.

Laura

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
Prompt user for input and utilize that input ninner Excel Worksheet Functions 2 March 28th 07 09:44 PM
Have user input converted to uppercase in same cell as input? Shannonn New Users to Excel 1 June 20th 06 03:19 AM
Input Data from user in correct Format Tricia Excel Programming 1 January 19th 05 03:47 PM
User Input The Wonder Thing[_3_] Excel Programming 1 August 19th 04 12:21 AM
CODE to select range based on User Input or Value of Input Field Sandi Gauthier Excel Programming 4 December 8th 03 03:22 PM


All times are GMT +1. The time now is 10:06 PM.

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

About Us

"It's about Microsoft Excel"