Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi all,
I am a newbie "programmer-wannabe" and have this code: Private Sub Worksheet_Activate() Dim wSheet As Worksheet If wSheet.ProtectContents = False Then ProductCaution.Show Protection.Show Else End If End Sub Don't know what this error means: "Object variable or With block variable not set" Can someone please help. Thanks in advance and Happy Easter, Emilio |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Runtime Error '91' Object variable or With block variable not set | Excel Discussion (Misc queries) | |||
Run-time error '91': "Object variable or With block variable not set | Excel Programming | |||
Cells.Find error Object variable or With block variable not set | Excel Programming | |||
Pivot Table - Object variable or with block variable not set? | Excel Programming | |||
Error 91 - Object variable with block variable not set | Excel Programming |