Macro Search and display
Closed
PM
-
13 Aug 2009 à 04:00
venkat1926 Posts 1863 Registration date Sunday 14 June 2009 Status Contributor Last seen 7 August 2021 - 13 Aug 2009 à 07:14
venkat1926 Posts 1863 Registration date Sunday 14 June 2009 Status Contributor Last seen 7 August 2021 - 13 Aug 2009 à 07:14
Related:
- Macro Search and display
- Vi search - Guide
- Search baron virus - Guide
- How to search for words on websites - Guide
- Pinterest search history - Guide
- Search nearby friends - Guide
1 response
venkat1926
Posts
1863
Registration date
Sunday 14 June 2009
Status
Contributor
Last seen
7 August 2021
811
13 Aug 2009 à 07:14
13 Aug 2009 à 07:14
use this macro
Sub test()
Dim rng As Range, d As Date
Set rng = Range(Range("a1"), Range("a1").End(xlDown))
d = Date
rng.Cells.Find(what:=d, lookat:=xlWhole).Activate
Range(Cells(ActiveCell.Row, "b"), Cells(ActiveCell.Row, "c")).Copy
Worksheets("sheet2").Cells(Rows.Count, "a").End(xlUp).Offset(1, 0).PasteSpecial
End Sub