Hi Everyone ..
Brand new to VBA. I want to search for a specific date that is in a test spreadsheet. I put a command button on the form and then call an inputbox to gather the date to be found.
I am not on that PC right now but I think it was something like ..
Private Sub Command1_Click()
Dim dSearchDay as Date
dSearchDay = InputBox("Enter date to find"
End Sub
From here I cannot find a function to call that works with dates. I tried changing the cells formatting back to General. Atleast from there I thought I would be dealing with strings, but it did not provide the desired results.
Any guideance would be greatly appreciated, with as much explanation as you feel like including.
Michael
Brand new to VBA. I want to search for a specific date that is in a test spreadsheet. I put a command button on the form and then call an inputbox to gather the date to be found.
I am not on that PC right now but I think it was something like ..
Private Sub Command1_Click()
Dim dSearchDay as Date
dSearchDay = InputBox("Enter date to find"
End Sub
From here I cannot find a function to call that works with dates. I tried changing the cells formatting back to General. Atleast from there I thought I would be dealing with strings, but it did not provide the desired results.
Any guideance would be greatly appreciated, with as much explanation as you feel like including.
Michael