+ Reply to Thread
Results 1 to 5 of 5

Display Charts on click like how it is in Picassa

  1. #1
    Forum Contributor
    Join Date
    01-13-2009
    Location
    Mumbai
    MS-Off Ver
    Excel 2003, 2007
    Posts
    168

    Display Charts on click like how it is in Picassa

    Dear Friends,

    I have an Excel Workbook with a worksheet containing around 5-6 charts placed side by side. When user clicks on any chart I want that particular chart to Zoom and come in the centre whereas the background must become inactive (Similar to how Picassa Photo Viewer works)..

    If this is possible in MS Excel 2003 then nothing like it. If not, Can you please suggest some other platform where it is possible?

    Regards,
    Vaibhav
    Last edited by c.vaibhav; 04-27-2009 at 08:40 AM.

  2. #2
    Registered User
    Join Date
    03-31-2004
    Location
    Toronto, Canada
    MS-Off Ver
    2003/2007
    Posts
    36

    Re: Display Charts on click like how it is in Picassa

    Hi Vaibhav
    Use the code below to zoom in an out.
    note that
    1. I do not know how to make excel inactive while you view this chart. but if you have all charts on a seperate sheet you can use deactivate sheet event i.e. when sheet is deactivate resize any zoomed in chart (see next note)
    2. for multiple charts every time a chart is click you will have to make sure the others are back to original. add a seperate zoomin variable for each chart so you can track what stage is a chart at.
    3. you will have to make sure that charts are resized to its original before closing the file since initial zoomein value will be false. there are ways around this i am sure but i will leave that now.
    4. modify the chart names and scale factors per your need.

    Please Login or Register  to view this content.

    hope this helps.
    Last edited by Keyur; 04-26-2009 at 02:46 PM.

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Display Charts on click like how it is in Picassa

    Try this:

    In a code module:
    Please Login or Register  to view this content.
    In the sheet module:
    Please Login or Register  to view this content.
    Right click the charts of interest and assign macro ChartZoom
    Last edited by shg; 04-27-2009 at 08:32 AM.
    Entia non sunt multiplicanda sine necessitate

  4. #4
    Forum Contributor
    Join Date
    01-13-2009
    Location
    Mumbai
    MS-Off Ver
    Excel 2003, 2007
    Posts
    168

    Re: Display Charts on click like how it is in Picassa

    Hey,
    Thanks a lot both of you. both the solutions works!!!

    Thanks once again..

  5. #5
    Forum Contributor
    Join Date
    04-18-2009
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2016
    Posts
    269

    Smile Re: Display Charts on click like how it is in Picassa

    @shg: great solution..

    --Karan--

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1