Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Joe Joe is offline
external usenet poster
 
Posts: 476
Default How can you limit the data entry range in Excel?

Is it possible to 'freeze' the cursor position on a spreadsheet so data can
be entered in one cell only?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,047
Default How can you limit the data entry range in Excel?

Hi Joe,

did you try to protect the ws?

hth
--
regards from Brazil
Thanks in advance for your feedback.
Marcelo



"Joe" escreveu:

Is it possible to 'freeze' the cursor position on a spreadsheet so data can
be entered in one cell only?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 149
Default How can you limit the data entry range in Excel?

In addtion to using the Locked property of Cells and then protecting the
worksheet, you can use the ScrollArea property in VBA to limit what cells
can be selected as well as how much the user is allowed to see.

Worksheets(1).ScrollArea = "a1"

The above would 1) only allow A1 to be selected and 2) the user would not be
able to scroll to any other area of the worksheet.
If i recall correctly, ScrollArea does *not* persist between sessions
(unlike Locked & protection), so you need to place it in Workbook.Open or
something similar.

You also might want to be sure that the specified range is showing before
invoking ScrollArea.

Application.Goto Reference:=Worksheets(1).Range("A1"), scroll:=True

--
HTH,
George


"Joe" wrote in message
...
Is it possible to 'freeze' the cursor position on a spreadsheet so data
can
be entered in one cell only?



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 put a limit on an entry in a cell? John Excel Discussion (Misc queries) 2 July 16th 07 04:16 AM
Highlight a range for data entry Kirk P. Excel Discussion (Misc queries) 2 August 28th 06 03:09 PM
How do I hide spreadsheet range from data entry? Deborah_NY Excel Worksheet Functions 1 May 22nd 06 02:43 PM
limit text entry in a range of cells QTPRM Excel Discussion (Misc queries) 2 May 25th 05 03:52 AM
Range name limit for data validation Paul K. Excel Worksheet Functions 8 February 9th 05 02:35 PM


All times are GMT +1. The time now is 01:09 AM.

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"