I have copied this code from Excel VBA, to use in a VB.net application:
Dim r as Excel.Range
r=Cells.Find(What:="02/01/2001 22:00:00", After:=ActiveCell,
LookIn:=xlFormulas, LookAt:=xlPart, SearchOrder:=xlByRows,
SearchDirection:=xlNext, MatchCase:=False, SearchFormat:=False)
But in VB.net, the editor doesn’t recognise de following constants:
ActiveCell, xlFormulas, xlPart, xlByRows.
Do you have any ideas?
Thanks,
Paulo Praça
Bookmarks