Solved

Excel: Duplication of sheets with formulas set to manipulate charts

Posted on 2011-02-13
11
226 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
As always the best help...  You are much appreciated!
0
 
LVL 41

Expert Comment

by:dlmille
Comment Utility
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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:Maliki Hassani
Comment Utility
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
Comment Utility
ok, but read the next sentence as it tells you why.

Dave
0
 

Author Comment

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

Expert Comment

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

Author Comment

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

Expert Comment

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

Later,

Dave
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
In this article we discuss how to recover the missing Outlook 2011 for Mac data like Emails and Contacts manually.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

771 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

12 Experts available now in Live!

Get 1:1 Help Now