Can excell automatically open in a specific cell based on the date

Karl E

New Member
Joined
Apr 3, 2015
Messages
12
I have an excel spreadsheet I use for tracking tasks completed (it counts # of tasks performed per day or month and also the time it took to complete each task)



I set up my tracking spreadsheet making Row A1000-1999 January, A2000-2999 February, A3000-3999 March and so forth. Tasks are identified in columns b-h according to #.

So to get to the question I have. I always have 1000 entries possible per month. Sometimes when we go from end of a month to a new month (ex. Jan to Feb) I forget to start my entries for Feb at 2000 and I have to go back and copy/paste corrections. Is there a way to have the cursor automatically move to cell A2000 if it’s the first day of February or A3000 if it’s the first day of March.

I hope this makes sense. Any assistance would be greatly appreciated.



Sincerely



Karl
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
@Karl E In basic form, something like below pasted into the code module for your sheet will do it if and when the sheet tab is selected.

VBA Code:
Private Sub Worksheet_Activate()
Dim MyRow As Long
  If Day(Now) = 1 Then
    
    MyRow = Month(Now) * 1000
    
    Cells(MyRow, 2).Select
  
 End If

End Sub

Hope that. helps.
 
Upvote 0

Forum statistics

Threads
1,214,522
Messages
6,120,022
Members
448,939
Latest member
Leon Leenders

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
Back
Top