Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am prompting the user for a numeric value with an inputbox. He
Answer = Application.InputBox(Prompt:="What is the Number?", Type:=1) I then use cells.find command to search a range (column) for the numeric value. He Cells.Find(What:="Answer", After:=ActiveCell, LookIn:=xlValues, _ LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _ MatchCase:=False, SearchFormat:=False).Activate It searches the range, but it returns the error "Object variable not set." However, if I had used the "SET" command for the variable "Answer", the type wouldn't match, because that requires a "range" type variable, not a numeric value. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
put inputbox input into a cell | Excel Programming | |||
Check on the input in an inputbox | Excel Programming | |||
Numerical Input via an inputbox method | Excel Programming | |||
Numerical Input via an inputbox method | Excel Programming | |||
Check on the input in an inputbox | Excel Programming |