Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default on and off button to populate data in a excel dashboard

Hello,

I am working on a dashboard and my boos, wants a button that will populate
the cells below the first merge cell. I offer him a list format, however that
isn't good enough. My boss would like to be able to turn the function on and
off. allowing the cells to apear then disapear when de-selected.

Please any help is appreciated
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,805
Default on and off button to populate data in a excel dashboard

Need more details.

"Cryckett" wrote:

Hello,

I am working on a dashboard and my boos, wants a button that will populate
the cells below the first merge cell. I offer him a list format, however that
isn't good enough. My boss would like to be able to turn the function on and
off. allowing the cells to apear then disapear when de-selected.

Please any help is appreciated

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,344
Default on and off button to populate data in a excel dashboard

Hi,

Populate the range with a formula like this
=IF($B$1=1,myformula,"")
where myformula is whatever formula you would use to populate these cells,

Set up your togglebutton to enter 1 in cell B1 when B1 = 0 and 0 in B1 when
B1 = 1.

The code would look like this:

Private Sub ToggleButton1_Click()
If [A5] = 1 Then
[A5] = 0
Me.ToggleButton1.Caption = "Show Detail"
Else
[A5] = 1
Me.ToggleButton1.Caption = "Hide Detail"
End If
End Sub

If this helps, click the Yes button.
--
Thanks,
Shane Devenshire


"Cryckett" wrote:

Hello,

I am working on a dashboard and my boos, wants a button that will populate
the cells below the first merge cell. I offer him a list format, however that
isn't good enough. My boss would like to be able to turn the function on and
off. allowing the cells to apear then disapear when de-selected.

Please any help is appreciated

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
Auto populate w/click of a 'button' Shanen Excel Discussion (Misc queries) 6 April 28th 08 08:15 PM
How can I create a dashboard guage that reflects data? VicUSC Charts and Charting in Excel 1 March 11th 07 10:22 PM
Dashboard for Excel John Moore Excel Discussion (Misc queries) 0 October 19th 06 01:49 PM
Using Option Button to populate formula Archgrad Excel Discussion (Misc queries) 0 August 8th 06 10:47 PM
How do I enter data in main excel doc and have it populate subdocu Trainer needing training Excel Discussion (Misc queries) 1 June 29th 06 05:49 AM


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

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"