Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default only edit from userform

Is it possible to make a worksheet only editable from the user form?

I want to stop people editing directly because they keep entering stuff
incorrectly.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default only edit from userform

Protect the sheet with the UserInterFaceOnly:=true parameter which allows
your code to update a protected sheet with locked cells.

Prior to that, lock all the cells and protect the sheet. In xl2002/3
disallow user selection of any cells. In earlier versions set the
EnableSelection property of sheet to xlNoSelection.

Of course you will have to evaluate this advice in terms of the
functionality you want to offer the user in terms of use of the worksheet.

An alternative approach might be the Application.Interactive property. See
the help for details.

--
Regards,
Tom Ogilvy


"mg_sv_r" wrote:

Is it possible to make a worksheet only editable from the user form?

I want to stop people editing directly because they keep entering stuff
incorrectly.

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
Edit exsisting data with userform Geo Excel Discussion (Misc queries) 2 October 1st 07 07:38 PM
How do you edit the text in a userform-textbox? John Keith[_2_] Excel Programming 0 February 23rd 06 03:40 PM
Edit userform lostthought[_4_] Excel Programming 8 August 18th 04 06:59 PM
Edit a userform Debra Dalgleish Excel Programming 0 February 7th 04 01:57 PM
View Row Data in UserForm / Edit Pete T[_2_] Excel Programming 1 October 17th 03 10:36 PM


All times are GMT +1. The time now is 09:22 PM.

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"