I'm not sure that I'm in the right newsgroup but I hope someone has a
suggestion for me. I created an Excel spreadsheet that has about 12 fields
in in that are editable by users, the rest of this spreadsheet is protected.
Is there a way that I can program a tab index to move through these 12
fields?
Thanks in Advance,
JeffH
If you protect your sheet by default you tab to the unprotected cells by row
Maybe you can use this
Sub test_1()
Dim myRange As Range
Dim myCell As Range
Dim myAns As Variant
Set myRange = Range("I3,K7,m11")
For Each myCell In myRange.Cells
myAns = InputBox _
(prompt:="Please enter something for cell: " & myCell.Address, _
Title:="Get Data")
If myAns <> "" Then
myCell.Value = myAns
End If
Next myCell
End Sub
--
Regards Ron de Bruin
http://www.rondebruin.nl
"JeffH" <n...@microsoft.com> wrote in message news:O4PSsqK...@TK2MSFTNGP05.phx.gbl...
Then on those 12 you want to give the ability to update, right click
those and unlock.
Then when you are protecting the sheet, Allow users to select only
unlocked cells.(Check this box only)