Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Setting cursor location on opening
I'm using Excel 2003. When I open a worksheet, I would like the cursor to
move to a cell to the right of a cell with the current date in it. Is there an easy way to do this? -- Howard Irwin |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Setting cursor location on opening
Hi,
Can you narrow it down a bit regarding where todays date might be because it would take a fair while to look through 16million cells and thats on Excel 2003. Mike "Howard Irwin" wrote: I'm using Excel 2003. When I open a worksheet, I would like the cursor to move to a cell to the right of a cell with the current date in it. Is there an easy way to do this? -- Howard Irwin |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Setting cursor location on opening
hi
where is the currents date? does it move? assuming it is stationary and Sheet 1 A1.... Private Sub Workbook_Open() Sheets("sheet1").Activate Range("A2").Select End Sub This is workbook event code. put it in a workbook module. Regards FSt1 "Howard Irwin" wrote: I'm using Excel 2003. When I open a worksheet, I would like the cursor to move to a cell to the right of a cell with the current date in it. Is there an easy way to do this? -- Howard Irwin |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Setting cursor location on opening
Very easy. Just paste this Event sub in the worksheet code area:
Private Sub Worksheet_Activate() d = Date For Each r In ActiveSheet.UsedRange If r.Value = d Then r.Offset(0, 1).Select Exit Sub End If Next End Sub -- Gary''s Student - gsnu200774 "Howard Irwin" wrote: I'm using Excel 2003. When I open a worksheet, I would like the cursor to move to a cell to the right of a cell with the current date in it. Is there an easy way to do this? -- Howard Irwin |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to determine cursor location? | Excel Discussion (Misc queries) | |||
Tracking cursor location | Excel Worksheet Functions | |||
Function for cursor location | Excel Worksheet Functions | |||
Cursor Location | Excel Discussion (Misc queries) | |||
Cursor Location | Excel Programming |