View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Dave Peterson Dave Peterson is offline
external usenet poster
 
Posts: 35,218
Default Runtime error with vba and checkbox

"Option Explicit" goes at the top of the module.

It's a signal to the compiler that you want to be forced to declare your
variables.

You can either move it to the top of the module or delete that line.

The code I suggested didn't rely on a linkedcell. Do you need linked cells for
anything?

SplatterKat wrote:

I tried the ol copy/paste and this didn't work either. The new and
improved error states:

Compile error. Invalid inside proceedure. Had the Option explicit
highlighted. I also checked the boxes that the checkbox and button are
connected with. Neither are locked but they are hidden. Unhiding them
didn't make any difference though.

I do appreciate the help, but it is still broke. Any other ideas?

-Robert Lizak-


--

Dave Peterson