![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: May 2002
Posts: 10
|
I prepared an amortization spreadsheet using Input Boxes and a number of macros. My problem is that I want to force users to use the Input Boxes and NOT to enter the data directly in the cells.
I thought I could do this by protecting the cells, but each time I protect the cells, the macros fail! How can I get the macros to work while the cells are protected? Really appreciate your help... [ This Message was edited by: Amortcal on 2002-05-06 18:45 ] |
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Mar 2002
Location: Sydney/Brisbane , Australia
Posts: 539
|
i use the following code in worksheets that i dont want the user to clcik on the protected boxes(where they'd normally get a message saying they are restricted).
it means that only those cells that are unprotected can be clicked on With Worksheets("index") .EnableSelection = xlUnlockedCells .Protect DrawingObjects:=True, contents:=True, userInterfaceOnly:=True End With |
|
|
|
|
|
#3 |
|
New Member
Join Date: May 2002
Posts: 10
|
Thanks Qroozn....but can you give me some more details. How do I specify within the code that you sent, the actual cells that I want to be protected? Thanks again.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|