Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
Thanks for your reply, I'm glad that you made it work. Regards, Per On 27 Nov., 16:13, struggler wrote: Hi again. I solved the problem, maby not the best way bit still, it works: *If f Is Nothing Then * * * * * * * * * * .Cells(4, 1).End(xlDown).Activate * * * * * * * * * * ActiveCell.End(xlDown).Activate * * * * * * * * * * ActiveCell.End(xlUp).Activate * * * * * * * * * * ActiveCell.Offset(1, 0) = Hold * * * * * * * * End If Thanks for your helpPerJessen!!! "struggler" wrote: there seems to be a problem, when it finds the "Hold" value then its ok, but if it does not find the value there is an error: *If f Is Nothing Then * * * * * * * * * * .Cells(4, 1).End(xlDown).Offset(1, 0) = Hold * * * * * * * * End If Im getting a run-time error. Application-defined or object.defined error. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Need to match 2 columns, if a match found add info from 2nd column | Excel Worksheet Functions | |||
Searching for a value for and then replacing when found. | Excel Programming | |||
Searching, matching then searching another list based on the match | Excel Discussion (Misc queries) | |||
Conditional format if cell match found in another range of cells | Excel Worksheet Functions | |||
Searching for partial text match in range | Excel Worksheet Functions |