Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
sococr
 
Posts: n/a
Default how to make excel select todays date from a list

I have a duties worksheet with an interupted list of dates in the 1st column
how do get excel to when opening automatically select or go to today`s cell
day
  #2   Report Post  
Ron de Bruin
 
Posts: n/a
Default

Hi sococr

Try this macro for column A

Sub Find_Todays_Date()
Dim FindString As Date
Dim Rng As Range
FindString = Date
Set Rng = Range("A:A").Find(What:=FindString, _
After:=Range("A" & Rows.Count), _
LookIn:=xlFormulas, _
LookAt:=xlWhole, _
SearchOrder:=xlByRows, _
SearchDirection:=xlNext, _
MatchCase:=False)
If Not Rng Is Nothing Then
Application.Goto Rng, True
Else
MsgBox "Nothing found"
End If
End Sub



--
Regards Ron de Bruin
http://www.rondebruin.nl



"sococr" wrote in message ...
I have a duties worksheet with an interupted list of dates in the 1st column
how do get excel to when opening automatically select or go to today`s cell
day



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Conversion SVC Excel Worksheet Functions 9 February 28th 05 02:29 PM
Create a cascading list box using Excel JPB Excel Discussion (Misc queries) 1 February 24th 05 08:43 PM
Excel 97 Select Behavior Brenda Rueter Excel Discussion (Misc queries) 2 January 19th 05 04:08 PM
In Excel, why sort function fails when applied to a list of date? Excel heavy user Excel Discussion (Misc queries) 1 January 18th 05 06:37 PM
Creating a Date Selector in Excel VBA? Mark Excel Discussion (Misc queries) 0 November 25th 04 10:59 PM


All times are GMT +1. The time now is 03:29 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"