M
mango
i have this statement reads
when password correct -
CommandBars("test toolbar").visible = true
when workbook open/close
CommandBars("test toolbar").visible = false
the above can work when i test on a new workbook but have this message
run time error 91
object variable or with block variable not set
when put in my application workbook.
why?
when password correct -
CommandBars("test toolbar").visible = true
when workbook open/close
CommandBars("test toolbar").visible = false
the above can work when i test on a new workbook but have this message
run time error 91
object variable or with block variable not set
when put in my application workbook.
why?