Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc,microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Excel 2000: Unprotected cells - how to prevent cursor from wrapping ???

I have created a workbook in which I limit cursor movement to unprotected
cells, by using the VBA code

With Worksheets(Sheet.Name)
.EnableSelection = xlUnlockedCells
End With

This works fine but I find the cursor-wrapping behaviour annoying and
confusing, e.g.:
*** when the cursor reaches the right-most unprotected cell in a particular
row,
it wraps to the left-most unprotected cell in the next row (i.e. next
row that contains an unprotected cell)
*** when the cursor reaches the bottom-most unprotected cell in a particular
column,
it wraps to the top-most unprotected cell in the next column (i.e.
next column that contains an unprotected cell)

This is especially confusing if the data on the sheet stretches wider and
longer than the screen, because as the cursor moves, you often find it
jumping suddenly and unwanted to the other end of the data. I would rather
prefer the cursor to stop at the edge of the data. How can I achieve the
desired behaviour.

Regards
Bertus
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
how do i prevent continued highlighting cells when cursor moves? Judy New Users to Excel 3 August 30th 06 08:53 PM
how to prevent unlimited scrolling in unprotected cells AAS Excel Discussion (Misc queries) 1 August 19th 06 12:47 PM
Move cursor through all unprotected cells in a protected worksheet Bob Simpson Excel Discussion (Misc queries) 9 November 18th 05 06:50 PM
How to prevent cursor from moving behind filled cells Spreadsheet Slave Excel Discussion (Misc queries) 1 April 4th 05 01:43 PM
Excel 2000: Unprotected cells - How to prevent cursor from wrapping? Bertus Theron Excel Programming 0 June 22nd 04 10:57 PM


All times are GMT +1. The time now is 08:21 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"