MarkDShark
Board Regular
- Joined
- Jun 10, 2008
- Messages
- 228
I need a code added that will return vlook list back to the first entry open hitting the clear button.
The first entry on my VLOOK list, is "Select". Need to be able to hit clear, then the list to revert back to the top of the list. Code used below. Thanks!
Sub clear_data0101()
'
' clear_data0101 Macro
' Macro recorded 9/2/2011 by TSXFB
'
'
Range("C16:C25").Select
Selection.ClearContents
Range("F16:F25").Select
Selection.ClearContents
ActiveWindow.SmallScroll Down:=18
Range("C39:C48").Select
Selection.ClearContents
Range("F39:F48").Select
Selection.ClearContents
ActiveWindow.SmallScroll Down:=-24
Range("B10:F10").Select
Range("C16").Select
Selection.ClearContents
End Sub
The first entry on my VLOOK list, is "Select". Need to be able to hit clear, then the list to revert back to the top of the list. Code used below. Thanks!
Sub clear_data0101()
'
' clear_data0101 Macro
' Macro recorded 9/2/2011 by TSXFB
'
'
Range("C16:C25").Select
Selection.ClearContents
Range("F16:F25").Select
Selection.ClearContents
ActiveWindow.SmallScroll Down:=18
Range("C39:C48").Select
Selection.ClearContents
Range("F39:F48").Select
Selection.ClearContents
ActiveWindow.SmallScroll Down:=-24
Range("B10:F10").Select
Range("C16").Select
Selection.ClearContents
End Sub