Solved

Excel: Duplication of sheets with formulas set to manipulate charts

Posted on 2011-02-13
11
227 Views
Last Modified: 2012-06-27
Experts,

I have been working on a dashboard, that the functionality is developed.  However, I would now like to continue to modify this new code to other sheets in the spreadsheet.

I have been working closely with an expert who has helped me code.  I am looking to have a better understanding of the code. See related post for spreadsheet.

thanks!
0
Comment
Question by:Maliki Hassani
  • 6
  • 5
11 Comments
 
LVL 41

Accepted Solution

by:
dlmille earned 500 total points
ID: 34885335
Ok - here it is for the next sheet. and some explanation on how it all works:

You only needed this change.  Executive Rollup looks at the same ranges as Summary Dashboard, for the Listbox2 control

That would be - Summary_Delta_Range:

Private Sub ListBox2_LostFocus()

    Call UpdateChart_ArrayOnLBLostFocus(ListBox2, "Summary_Delta_Range", "Executive Rollup Data", "Executive Rollup", "Chart 238", True)
    Call UpdateChart_ReviseTitle(ListBox2, "Summary_Delta_Range", "Executive Rollup Data", "Executive Rollup", "Chart 238")
   
End Sub

Reflect a bit on how all this works, as you move forward...

For you need an UpdateChart_ArrayOnLBLostFocus AND an UpdateChart_ReviseTitle on
the single listbox with columns (recall also that the columnar listbox needs to do
vlookup on the parsed out key, so in this instance, that's still Summary_Delta_Range.

If you were to do this on other charts with different data sheets, youd need to set the
data up JUST LIKE the EXECUTIVE ROLLUP DATA sheet - the keys in the first column at the top,
the columns with different key in the first column on the bottom dataset.

The data ranges set out across the top

and referenced in the bottom.

The option buttons copied from one sheet to another

The option button code copied from a working sheet to the new sheet.

Note I've updated option buttons 1-6 now.

See attached:

Dave

PS - at some point, you're going to wonder why when you hit the arrow button, the chart doesn't open when
you click it after having done anything but selected something to chart.
and that's because the listbox lostfocus didn't fire.  If you make a command button macro for each one of these
then you can call the Listbox1_Lostfocus routine.  You can't run that routine OUTSIDE of the SHEET CODEPAGE.

Don't worry, you can make the command button transparent with your arrow "Update" icon in the background.

If you need help, ask another question and I'll walk you through it more detailed than this.


Let's make sure all your questions on what's been done have been answered (before moving to the next problem) then close out.  That way, you've got a documented understanding.

Dave
NOC-Reports-r17.xlsm
0
 

Author Comment

by:Maliki Hassani
ID: 34885367
Beautifully worded.  I understood everything.  I will give it a try!  It fells good when you understand and can teach someone based off of your own knowledge.  Thank you again!!
0
 

Author Comment

by:Maliki Hassani
ID: 34893161
Dave,

FYI,

I have 3 sheets functional!  It is looking really good!  Thank you so much..  I do have a several small questions.. Next question is if I can upload this to sharepoint and have full functionality..  One sec!
0
 

Author Closing Comment

by:Maliki Hassani
ID: 34893168
As always the best help...  You are much appreciated!
0
 
LVL 41

Expert Comment

by:dlmille
ID: 34893261
As there are no links, you can upload to Sharepoint, if other users are downloading to function.  Not sure if you convert to HTML (haven't messed with that much) how it will work but would like to know.

Dave
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:Maliki Hassani
ID: 34893278
Okay..  Maybe I need to ask this question in the sharepoint section, not in excel.  Thanks..  I do have a question about the following:

PS - at some point, you're going to wonder why when you hit the arrow button, the chart doesn't open when
you click it after having done anything but selected something to chart.

--- I am experiencing that issue and would like to know more..  I will post a question about this, okay?
0
 
LVL 41

Expert Comment

by:dlmille
ID: 34893330
ok, but read the next sentence as it tells you why.

Dave
0
 

Author Comment

by:Maliki Hassani
ID: 34893344
Okay...  Maybe I don't need the question then..  
0
 
LVL 41

Expert Comment

by:dlmille
ID: 34893347
Just give it a shot and if you have problems - post away.
0
 

Author Comment

by:Maliki Hassani
ID: 34893349
I do have 2 post that are related already  if you want to give them a try..
0
 
LVL 41

Expert Comment

by:dlmille
ID: 34893386
I only saw one and responded.  Going to do the valentines thing.

Later,

Dave
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Office Picture Manager was included in Office 2003, 2007, and 2010, but not in Office 2013. Users had hopes that it would be in Office 2016/Office 365, but it is not. Fortunately, the same zero-cost technique that works to install it with …
PaperPort has a feature called the "Send To Bar". It provides a convenient, drag-and-drop interface for using other installed software, such as Microsoft Office. However, this article shows that the latest Office 2016 apps (installed with an Office …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now