Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Bob Bob is offline
external usenet poster
 
Posts: 972
Default Force cursor to appear in only one cell, older Excel versions

I created a worksheet in Excel 2003 where with protection I can force editing
in only one cell. The cursor only rests in that cell, so that when typing
you don't have to first move the cursor to that cell. In an older version of
Excel, I can't do that. I can have it tell me my entry is invalid for the
cell my cursor is in. Is there a way in earlier versions to force the cursor
to only rest on a specific cell? Validation, drop-down box type things? I
can't think of the word.
Thanks, Bob
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Force cursor to appear in only one cell, older Excel versions

Lock all the cells on the worksheet except the cell to edit--keep that unlocked.

(Format|Cells|Protection tab is where you do that work)

Then add a macro that protects the worksheet (nicely) when the workbook opens:

Private Sub Workbook_Open()
With Worksheets("Sheet99999")
.Unprotect Password:="hi"
.EnableSelection = xlUnlockedCells
.Protect Password:="hi", DrawingObjects:=True, _
Contents:=True, Scenarios:=True
End With
End Sub

In fact, in xl2k and below, this setting wasn't remembered when you closed the
workbook and reopened. Setting it in code was the only way to do this.

Bob wrote:

I created a worksheet in Excel 2003 where with protection I can force editing
in only one cell. The cursor only rests in that cell, so that when typing
you don't have to first move the cursor to that cell. In an older version of
Excel, I can't do that. I can have it tell me my entry is invalid for the
cell my cursor is in. Is there a way in earlier versions to force the cursor
to only rest on a specific cell? Validation, drop-down box type things? I
can't think of the word.
Thanks, Bob


--

Dave Peterson
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
Multiple Excel versions. Naveen Mukkelli Excel Discussion (Misc queries) 0 May 16th 06 12:55 AM
How can I verify that an Excel file will work with older versions Tony English Excel Discussion (Misc queries) 3 January 30th 06 02:57 PM
Pasting Word table cell with paragraph markers into single Excel c Steve Excel Discussion (Misc queries) 1 June 16th 05 11:26 PM
Replace Fx with = in Excel as older excel versions were. Solzman Excel Discussion (Misc queries) 1 December 2nd 04 04:55 PM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


All times are GMT +1. The time now is 04:15 AM.

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"