C
CR
I have a worksheet, we'll say Sheet 1, that does a web query. I have two
command buttons setup that turn the query on/off.
On either the workbook Open or Beforeclose, I want to make one of the
buttons visible = false.
When I put the code in ThisWorkbook module, I don't seem to know how to
reference the button (or maybe the sheet?)
I get an object required error as soon as it gets to my Cmd_Stop.Visible =
False line.
How do I properly point to it?
Thanks
command buttons setup that turn the query on/off.
On either the workbook Open or Beforeclose, I want to make one of the
buttons visible = false.
When I put the code in ThisWorkbook module, I don't seem to know how to
reference the button (or maybe the sheet?)
I get an object required error as soon as it gets to my Cmd_Stop.Visible =
False line.
How do I properly point to it?
Thanks