PC Review


Reply
Thread Tools Rate Thread

Cell possibilities?

 
 
Boenerge
Guest
Posts: n/a
 
      13th Jul 2008
Hi,
I have a spreadsheet which has dates when people have attended a course.
The sheet then updates itself through conditional formatting and formulas to
let me know when course dates have run out.
Is it possible through using either a formula or conditional formatting that
after a certain time period e.g. two months after a course date has run out,
that the date in the cell is erased?
If so how id it done?
Thanks in advance.
 
Reply With Quote
 
 
 
 
Ragdyer
Guest
Posts: n/a
 
      13th Jul 2008
What formulas and conditional formulas are you presently using to determine
when course dates expire?

And what exactly do you mean by "erased"?
Do you mean "not-displayed", or blank (""), or actually removed?
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Boenerge" <(E-Mail Removed)> wrote in message
news:73FEB288-6EC6-461C-AC52-(E-Mail Removed)...
> Hi,
> I have a spreadsheet which has dates when people have attended a course.
> The sheet then updates itself through conditional formatting and formulas

to
> let me know when course dates have run out.
> Is it possible through using either a formula or conditional formatting

that
> after a certain time period e.g. two months after a course date has run

out,
> that the date in the cell is erased?
> If so how id it done?
> Thanks in advance.


 
Reply With Quote
 
Bob Phillips
Guest
Posts: n/a
 
      13th Jul 2008
You won't be able to delete the data row, but you could have some workbook
open code that deletes them, something like

Private Sub Workbook_Open()
Const TEST_COLUMN As String = "A" '<=== change to suit
Dim i As Long
Dim LastRow As Long

With Application

.ScreenUpdating = False
.Calculation = xlCalculationManual
End With

With ThisWorkbook.Worksheets(1)

LastRow = .Cells(.Rows.Count, TEST_COLUMN).End(xlUp).Row
For i = LastRow To 1 Step -1

If .Cells(i, TEST_COLUMN).Value < _
DateSerial(Year(Date), Month(Date) - 2, Day(Date)) Then

.Rows(i).Delete
End If
Next i
End With

With Application

.Calculation = xlCalculationAutomatic
.ScreenUpdating = True
End With


End Sub

'This is workbook event code.
'To input this code, right click on the Excel icon on the worksheet
'(or next to the File menu if you maximise your workbooks),
'select View Code from the menu, and paste the code


--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Boenerge" <(E-Mail Removed)> wrote in message
news:73FEB288-6EC6-461C-AC52-(E-Mail Removed)...
> Hi,
> I have a spreadsheet which has dates when people have attended a course.
> The sheet then updates itself through conditional formatting and formulas
> to
> let me know when course dates have run out.
> Is it possible through using either a formula or conditional formatting
> that
> after a certain time period e.g. two months after a course date has run
> out,
> that the date in the cell is erased?
> If so how id it done?
> Thanks in advance.



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
datalist possibilities =?Utf-8?B?cm9kY2hhcg==?= Microsoft ASP .NET 0 19th Oct 2007 04:57 PM
Excel/VBA possibilities The Alltime Best Microsoft Excel Discussion 2 30th Apr 2006 09:18 PM
Conditional w/ three possibilities MathDoctor Microsoft Excel Misc 4 11th Jun 2005 03:45 PM
If Function Possibilities rheller Microsoft Excel Discussion 2 7th Jun 2005 08:12 PM
Possibilities Stephanie Microsoft Access Security 0 1st Mar 2004 07:29 PM


Features
 

Advertising
 

Newsgroups
 


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