Timer on Drop-Down List

franke15

New Member
Joined
Jun 1, 2015
Messages
1
I want to have a timer that if you are on a drop down menu for too long, it moves you to a different cell. Here is what I have:

Sub DropDownTimer()
If ActiveCell = Range("C8") Then
Range("C9").Select
End If
Application.OnTime Now + TimeValue("00:00:30"), "DropDownTimer"
End Sub

This selects C9 if the user is on C8 for 30 seconds.

However, if the user clicks on the right-side pull down arrow for the drop down list, the macro waits until the user does an action before moving.

I would like this timer to work even while the user is selecting. Any ideas? Thanks
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.

Forum statistics

Threads
1,195,938
Messages
6,012,416
Members
441,698
Latest member
DaveTeo

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top