+ Reply to Thread
Results 1 to 4 of 4

Expanding picture to full size in Google Sheets

  1. #1
    Forum Contributor
    Join Date
    10-14-2007
    MS-Off Ver
    Excel 2021
    Posts
    121

    Expanding picture to full size in Google Sheets

    Previously I created an excel spreadsheet that would show a full sized stock chart when arrowing up and down a list of stock symbols. The pictures were linked to comments and would automatically pop up when the cell was selected. It worked perfectly for my needs.

    I'm now trying to replicate this functionality in Google Sheets but i don't know how to automatically expand the stock chart when a stock symbol is selected.

    Any help greatly appreciated.

  2. #2
    Forum Contributor
    Join Date
    10-14-2007
    MS-Off Ver
    Excel 2021
    Posts
    121

    Re: Expanding picture to full size in Google Sheets

    Here's the google sheet I'm working with. As i arrow over cell C2, i would like the chart to fully expand and once i arrow off that cell the chart would disappear again. I have downloaded a firefox add on called Imagus which will expand the hyperlink within the sheet, but you first have to hover over the hyperlink with your mouse, then hover over the new hyperlink that appears again before it will actually bring up the chart. It works but it's clunky when comparing dozens of symbols. Ideally, i want to arrow over cell C2 and the chart will instantly appear.

    https://docs.google.com/spreadsheets...#gid=535301902

  3. #3
    Valued Forum Contributor janmorris's Avatar
    Join Date
    07-24-2021
    Location
    Japan
    MS-Off Ver
    Google Sheets (& Mac 2021)
    Posts
    1,096

    Re: Expanding picture to full size in Google Sheets

    The first thought that comes to mind is to use apps script with onSelectionChange(e), which runs when a user changes the selection in a spreadsheet.

    see here:
    https://developers.google.com/apps-s...uides/triggers
    As a gesture off appreciation, you can click * Add Reputation at the foot of any of the posts of members who helped you reach a solution.

    And finally, was your problem solved? if so, please click Thread Tools above the first post of your enquiry, then select [Solved]

  4. #4
    Forum Contributor
    Join Date
    10-14-2007
    MS-Off Ver
    Excel 2021
    Posts
    121

    Re: Expanding picture to full size in Google Sheets

    Thanks Jan,

    The thumbnails in the sheets reside in Column C. Would the onSelectionChange(e) be able to tell when i cursor over a cell in Column C and automatically run a script to expand the column size? The current workaround I settled on is i'm manually running a macro that expands the cells where the thumbnails reside and then run another macro to return back to thumbnail size when i'm done viewing the charts. It's not the most elegant solution but it would be pretty useful if those scripts could be automated somehow.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Google Sheets. Can I connect offline data from excel to google sheets?
    By drlemur39 in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 3
    Last Post: 11-15-2021, 10:40 AM
  2. [SOLVED] Google Sheets: Can't build box size matrix to work with formula to auto select box size
    By DendetheNameknoob in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 3
    Last Post: 07-15-2020, 08:20 AM
  3. Google Apps Script for Google Sheets Pulling Formulas from Master to Several Slave Sheets
    By excelroofing in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 4
    Last Post: 08-22-2018, 02:06 AM
  4. Replies: 3
    Last Post: 12-02-2015, 03:03 PM
  5. [SOLVED] insert picture the same size and location of existing picture
    By mcdermott2 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-13-2015, 11:14 AM
  6. Expanding the size of a page to a certain column
    By MVscarlet in forum Excel General
    Replies: 2
    Last Post: 08-25-2009, 03:12 PM
  7. expanding size ranges to known increments
    By mem1tg in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-19-2007, 12:03 PM

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