LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.programming
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
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
checkbox in runtime [email protected] Excel Programming 1 April 15th 06 11:05 AM
Excel 2003 Macro Error - Runtime error 1004 Cow Excel Discussion (Misc queries) 2 June 7th 05 01:40 PM
Interior class error/runtime error 1004 David Goodall Excel Programming 1 October 24th 04 10:16 PM
Syntax Error Runtime Error '424' Object Required sjenks183 Excel Programming 1 January 23rd 04 09:25 AM
Unknown where is the problem on the Runtime error - Automation error wellie Excel Programming 1 July 10th 03 08:12 AM


All times are GMT +1. The time now is 11:17 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"