Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am developing an Excel model that tests the participant's memory.
Commencing the program makes a sheet visible. I want to use a "Worksheet_Change macro to hide the sheet after a specified period of time (between 30 & 90 seconds). Can the computer's clock be associated with a formula so that I can cause a value in a cell to change at the conclusion of a selected period? I am using Windows XP Home with Office 07. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
this should hide the sheet after 2 seconds after A1 is changed
Private Sub Worksheet_Change(ByVal Target As Range) Const WSrange As String = "A1" Dim i As Long If Not Intersect(Target, Me.Range(WSrange)) Is Nothing Then Application.Wait (Now + TimeValue("0:00:02")) ActiveSheet.Visible = xlHidden End If End Sub -- Gary "Charlie Betz" wrote in message ... I am developing an Excel model that tests the participant's memory. Commencing the program makes a sheet visible. I want to use a "Worksheet_Change macro to hide the sheet after a specified period of time (between 30 & 90 seconds). Can the computer's clock be associated with a formula so that I can cause a value in a cell to change at the conclusion of a selected period? I am using Windows XP Home with Office 07. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
don't need the dim statement, put it there by mistake
Private Sub Worksheet_Change(ByVal Target As Range) Const WSrange As String = "A1" If Not Intersect(Target, Me.Range(WSrange)) Is Nothing Then Application.Wait (Now + TimeValue("0:00:02")) ActiveSheet.Visible = xlHidden End If End Sub -- Gary "Charlie Betz" wrote in message ... I am developing an Excel model that tests the participant's memory. Commencing the program makes a sheet visible. I want to use a "Worksheet_Change macro to hide the sheet after a specified period of time (between 30 & 90 seconds). Can the computer's clock be associated with a formula so that I can cause a value in a cell to change at the conclusion of a selected period? I am using Windows XP Home with Office 07. |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
This may assist:
http://www.mrexcel.com/archive/VBA/7422a.html Corey.... "Charlie Betz" wrote in message ... I am developing an Excel model that tests the participant's memory. Commencing the program makes a sheet visible. I want to use a "Worksheet_Change macro to hide the sheet after a specified period of time (between 30 & 90 seconds). Can the computer's clock be associated with a formula so that I can cause a value in a cell to change at the conclusion of a selected period? I am using Windows XP Home with Office 07. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
24 hour clock formula for elapsed time between 1215 and 1630 | Excel Worksheet Functions | |||
Incremental time values based upon clock in and clock out times | Excel Discussion (Misc queries) | |||
Time Clock - Making sure they clock out | Excel Programming | |||
How do I calculate time in excel (clock in and clock out | Excel Discussion (Misc queries) | |||
Change EXCEL Clock to Standard Clock or Military Time | Excel Worksheet Functions |