LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default macro with checkbox(i)

I have a workbook with 4 worksheets
In a userform with 4 checkboxes i want to check if the sheets are visible
and if is true change the value of these checkboxes

for i=1 to 4
if sheets(i).visible=true then
checkbox(i).value=true
end if
next i

the problem is that is not recognize the checkbox(i) and give
me a compile error
"sub or function not defined"
 
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 Macro Ben in CA[_2_] Excel Discussion (Misc queries) 2 December 9th 08 04:24 PM
Checkbox Macro [email protected] Excel Discussion (Misc queries) 3 November 5th 07 07:11 PM
checkbox macro Dajana Excel Discussion (Misc queries) 1 November 28th 05 05:22 PM
Macro for checkbox (2) es Excel Discussion (Misc queries) 0 April 5th 05 01:48 PM
Checkbox Macro grin2000[_6_] Excel Programming 2 June 11th 04 02:47 PM


All times are GMT +1. The time now is 12:10 PM.

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"