Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Try...
Sub FindNumber() Dim NumToFind, rng As Range NumToFind = Application.InputBox("Enter the number to find", Type:=1) If NumToFind = False Then Beep: Exit Sub Set rng = Range("A:A").Find(NumToFind, LookIn:=xlValues) If rng Is Nothing Then MsgBox "The number was not found" Else ActiveWindow.ScrollRow = rng.Row End If End Sub -- Garry Free usenet access at http://www.eternal-september.org Classic VB Users Regroup! comp.lang.basic.visual.misc microsoft.public.vb.general.discussion |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Find empty cell and input data for other cells | Excel Programming | |||
How to add 'ft' to number input in cell - as in 25ft | Excel Discussion (Misc queries) | |||
Formatting to show 0 as first number in a cell when input | Excel Worksheet Functions | |||
how to input a 12 digit number into a cell | New Users to Excel | |||
making a cell fixed number to a input number | Excel Programming |