LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 47
Default Not allow data to be entered beyond a specified row.

Mike -

Thanks much. That did it!
--
Cassie


"Mike H" wrote:

Cassie,

Right click your worksheet tab, view code and paste this in

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Row = 201 Then
Application.EnableEvents = False
MsgBox "Not allowed"
Application.Undo
Application.EnableEvents = True
End If
End Sub

Mike

"Cassie" wrote:

How do I format the spreadsheet to not allow data to be entered beyond a
specified row. I have a spreadsheet that I don't want data entered below row
201. I haven't been able to find this on any of the help searches.
--
Cassie



 
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
Data Range updating automatically as new data is entered mgnrke28 Charts and Charting in Excel 1 July 10th 08 02:02 PM
the value of a box in excel if entered data is a certain value helpless101 Excel Worksheet Functions 1 April 10th 06 03:18 AM
?-Change data series range as data is entered? isofuncurves Charts and Charting in Excel 4 January 24th 06 06:15 PM
Why won't my newly entered data sort with old data ? laura Excel Discussion (Misc queries) 2 August 3rd 05 04:26 PM
Why won't my newly entered data sort with old data ? laura Excel Discussion (Misc queries) 0 August 3rd 05 03:37 PM


All times are GMT +1. The time now is 10:04 PM.

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"