Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
my spreadsheet has column A consisting of each date in 2006. I would like my
spreadsheet, upon opening, to go to the row with today's date in column A and move the spreadsheet up so that is the top row below my freeze line currently at row 3. Can I do this without visual basic? How? -- Thank you all for your help! |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Private Sub Workbook_Open()
With Worksheets("Sheet1") .Activate .Range("A" & Date - DateSerial(Year(Date), 1, 1) + 1).Select 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 RP "James D" wrote in message ... my spreadsheet has column A consisting of each date in 2006. I would like my spreadsheet, upon opening, to go to the row with today's date in column A and move the spreadsheet up so that is the top row below my freeze line currently at row 3. Can I do this without visual basic? How? -- Thank you all for your help! |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
?B?SmFtZXMgRA==?= wrote
my spreadsheet has column A consisting of each date in 2006. I would like my spreadsheet, upon opening, to go to the row with today's date in column A and move the spreadsheet up so that is the top row below my freeze line currently at row 3. Can I do this without visual basic? How? Private Sub Workbook_Open() Application.Goto ActiveSheet.Columns(1).Find(Date), 1 End Sub -- David |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
In Excel, Get todays date in a cell | Excel Discussion (Misc queries) | |||
Possible Lookup Table | Excel Worksheet Functions | |||
Need to use IF formula with a Date cell | Excel Worksheet Functions | |||
How do I find the cell address of the 2nd largest of a set? | Excel Discussion (Misc queries) | |||
Changing Cell formats to date fields automatically | Excel Worksheet Functions |