Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 97
Default lock up rows w/dates diff than current year

Please, HelP!!!
I have a sheet where the User inputs daily information and it spans over
several
years. I want to restrict the use of cells in all years but the current year.
I need something like this matching current year's dates
Four years span:
2004-2007 A1:A1461
For 2004:

Dim ws As Worksheet
Set ws = Sheet (1)
ws.Unprotect
ws.Rows(367:1461).EntireRow.Locked = True
ws.Protect

Thanks!

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
convert existing range of dates to to current year, maintaining mm Lin24 New Users to Excel 4 October 27th 09 08:04 PM
When typing dates do not default to current year. Spreadsheet Geek[_2_] Excel Worksheet Functions 2 October 31st 07 09:28 PM
Converting Older Dates to Current Year Cristella Excel Worksheet Functions 2 October 23rd 07 11:36 PM
Combination Graph with current year and prior year sales JanW Charts and Charting in Excel 2 April 5th 07 09:20 PM
How to compare current year to prior year in bar chart? substring Charts and Charting in Excel 4 May 12th 05 07:04 PM


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