Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sub ThereIsAlwaysAnotherWay()
Dim dblFind As Double Dim ws As Worksheet Dim rng As Range Dim vRow As Variant Set ws = Worksheets("Daily Sched") Set rng = ws.Columns("A:A").Cells dblFind = CDbl(Date) vRow = Application.Match(dblFind, rng, 0) If IsError(vRow) Then vRow = ws.Cells(ws.Rows.Count, 1).End(xlUp).Offset(1, 0).Row End If MsgBox vRow End Sub -- Jim Cone San Francisco, USA http://www.realezsites.com/bus/primitivesoftware "RCranston" wrote in message I will try the following: FindDate = "*" & Format$(Date, "m/dd/yyyy") Is the "m/dd/yyyy" format for both single digit and double digits months. And what about single digit and double digits days? The FindDate could be "11/01/2007" but the xls date would be "11/1/2007"?? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Find the date of the coming up Saturday given the current date. | Excel Worksheet Functions | |||
date find using find method | Excel Programming | |||
Function to find row with most current date | Excel Worksheet Functions | |||
Using variables to make a date and using find method to find that. | Excel Programming | |||
Using Find method | Excel Programming |