Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() VB code: Dim frm As UserForm For Each frm In UserForms If frm Is frmLabel Then If frmLabel.Visible Then Unload frmLabel End If Next This works just fine 99% of the time. But ocassionally errror frmlabel = <Object variable or With block variable not set appears and the line highlighted is If frm Is frmLabel Then It's Ok on the next run though. Anyone know what this might be? Thanks - Kirk |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
VBA WMI Intermittent Error | Excel Programming | |||
Intermittent Links | Links and Linking in Excel | |||
Nasty IF Statement | Excel Programming | |||
nasty little excel autofilling ****** | Excel Discussion (Misc queries) | |||
Intermittent issue | Excel Discussion (Misc queries) |