Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Private Sub CommandButton2_Click()
Dim strItem As String, _ rngItems As Range Set rngItems = Range("C:C") strItem = Range("A1").Value Sheets("forecast").Select rngItems.Find(What:=strItem).Activate End Sub I keep getting Object variable or With block variable not set (Error 91) at the last line (.Find) any help appreciated |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
what is wrong with this code? | Excel Programming | |||
What's wrong with my code ? | Excel Worksheet Functions | |||
What is wrong with this code? | Excel Programming | |||
What's wrong with this code, please? | Excel Programming | |||
What is wrong with this code? | Excel Programming |