Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 103
Default is it possible 2 macros in 1 check box?

Hello everyone!
I know how to assigne a macro to a check box, but what I don't know is how
to go back to the previous situation (before the macro was run) when I
unclick it.

Thank you so much.

Another question: what I want to do is to create a more friendly user
interface for my data so people with no excel skills can work manipulating
the data in an easier way. So I created a pivot table and now I want to use
"check boxs" with macros (the macros selectes different situations on the
pivots.) my question is there any easier or better way for me to do this???
any ideas?? thank you!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,480
Default is it possible 2 macros in 1 check box?

Hi

If you allocate a Linked cell to the checkbox, I used H1, then the following
approach will work

Private Sub CheckBox1_Click()
If Range("H1") Then
MsgBox ("Hello")
Else
MsgBox ("Goodbye")
End If
End Sub

Also take a look at Debra Dalgleish's site for help on using dropdown Data
validation boxes off the PT to change settings on the PT itself, and for
making the same changes to multiple PT's from one selection.
http://www.contextures.com/excelfiles.html#Pivot
and in particular
http://www.contextures.com/PivotMult...CellChange.zip
http://www.contextures.com/PivotMultiPagesChangeAll.zip


--
Regards
Roger Govier

"HERNAN" wrote in message
...
Hello everyone!
I know how to assigne a macro to a check box, but what I don't know is how
to go back to the previous situation (before the macro was run) when I
unclick it.

Thank you so much.

Another question: what I want to do is to create a more friendly user
interface for my data so people with no excel skills can work manipulating
the data in an easier way. So I created a pivot table and now I want to
use
"check boxs" with macros (the macros selectes different situations on the
pivots.) my question is there any easier or better way for me to do
this???
any ideas?? thank you!


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
Check box macros Sunlover Excel Discussion (Misc queries) 5 January 10th 08 01:28 AM
Increase size of a Forms Check Box (click on to enter check mark) 718Satoshi Excel Discussion (Misc queries) 0 August 17th 07 01:52 AM
Check if Conditional Format is True or False / Check cell Color Kevin McCartney Excel Worksheet Functions 5 June 29th 07 11:12 AM
I need help with macros and check boxes. Marc New Users to Excel 2 March 20th 06 04:20 PM
Macros to delete check boxes GWB Direct Excel Discussion (Misc queries) 23 June 3rd 05 09:56 PM


All times are GMT +1. The time now is 09: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"