How to jump to a cell based on date upon open

country101

Board Regular
Joined
May 31, 2012
Messages
61
I am creating a spreadsheet to keep track of overtime. I have names, totals, days of year, etc frozen. The days of the year are ranged from D3:ND3

I want the spreadsheet to activate, upon open, the cell with today's date so that I dont have to scroll around to be able to enter the overtime for the week. I have a macro to activate a specific cell, but I dont know how to make it look for anything else.

Here's what I thought I would base the macro off of:

Code:
Sub Workbook_Open()
Me.Sheets("Sheet1").Activate
ActiveSheet.Range("d5").Activate
End Sub

That may be oversimplified, but if you could look it up with a "today" formula it would be easy. But I dont know how VBA works exactly so it may not be that easy.
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.

Forum statistics

Threads
1,203,461
Messages
6,055,559
Members
444,798
Latest member
PAO1609

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