Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Excel VBA Forms and multiple checkboxes

Hello to all,

I am not a newbie to vba with excel, but I have never had to use forms
before.

My problem is this :

I have a form that has a checkbox for every period (P1 to P12). Behind
every checkbox, I want to assign a Range value for every Period
corresponding to somewhere in my excel sheet.

Dim Per1 As Range
Set Per1 = Range("D3:G34")
Dim Per2 As Range
Set Per2 = Range("H3:K34") and on it goes for all periods...

I want to command button to verify if only 3 checkboxes have the value
1 and then take the ranges from those selected textboxes and do :

Union(Perx,Pery,Perz)

How can I get this done???

So in resume...How can I assign a Range value to a checkbox and use
multiple checkboxes to do a union.

Thanks.....Francis
Reply
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
Forms - Checkboxes Jane Excel Worksheet Functions 3 October 3rd 06 02:21 PM
creating checkboxes from forms tool bar KB Excel Worksheet Functions 2 April 25th 06 03:53 AM
how do you insert multiple simple checkboxes in an Excel Spreadshe mgreen74 Excel Discussion (Misc queries) 0 March 8th 06 03:19 PM
Excel VBA Problem - Clearing multiple checkboxes rott[_7_] Excel Programming 2 May 18th 04 09:09 PM
Can you hide forms checkboxes Matt Excel Programming 2 January 10th 04 06:32 PM


All times are GMT +1. The time now is 07:54 AM.

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

About Us

"It's about Microsoft Excel"