View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
tango tango is offline
external usenet poster
 
Posts: 45
Default run time error on commandbars

i have this statement reads

password correct -
CommandBars("test toolbar").visible = true

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

why?