Home

Phantom Photos: Images Duplicate Themselves Randomly in Excel Files Stored In SharePoint

%3CLINGO-SUB%20id%3D%22lingo-sub-808516%22%20slang%3D%22en-US%22%3EPhantom%20Photos%3A%20Images%20Duplicate%20Themselves%20Randomly%20in%20Excel%20Files%20Stored%20In%20SharePoint%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-808516%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EI%E2%80%99ve%20spoken%20with%20Microsoft%20Excel%20customer%20support%20about%20this%20and%20there%20are%20no%20other%20known%20instances%20of%20the%20problem%20my%20team%20and%20I%20are%20having%20with%20two%20of%20our%20templates%2C%20which%20I%20designed%20myself%20from%20scratch%20about%20a%20year%20ago.%20They%20suggested%20I%20post%20this%20thread%20to%20a%20handful%20of%20forums%2C%20in%20hopes%20that%20some%20awesome%20software%20genius%20out%20there%20can%20help%20me%20out.%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3EOne%20crucial%20thing%20to%20note%20before%20I%20get%20into%20the%20detail%20of%20what%E2%80%99s%20happening%20is%20that%20we%20*only*%20encounter%20the%20issue%20once%20the%20file(s)%20are%20uploaded%20to%20SharePoint%20and%20accessed%20via%20a%20web%20browser%20(as%20opposed%20to%20opening%20from%20synced%20folder%20in%20Windows%20Explorer).%20In%20other%20words%2C%20if%20the%20file%20is%20saved%20locally%20on%20the%20machine%20or%20our%20internal%20server%2C%20the%20issue%20does%20not%20occur.%20Another%20thing%20to%20note%20is%20that%20it%20doesn%E2%80%99t%20*always*%20happen%2C%20and%20I%20haven%E2%80%99t%20been%20able%20to%20pinpoint%20the%20exact%20timing%20of%20when%20it%20actually%20takes%20place%2C%20since%20it%E2%80%99s%20an%20%E2%80%9Cinvisible%E2%80%9D%20problem.%20Which%20will%20make%20sense%20by%20the%20time%20you%20get%20to%20the%20end%20of%20this%20post.%20Anyways%E2%80%A6%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3EThe%20two%20workbooks%20I%20designed%20each%20serve%20very%20different%20purposes%2C%20but%20are%20alike%20in%20the%20sense%20that%20they%E2%80%99re%20set%20up%20to%20automatically%20create%20a%20print-friendly%2C%20clean%2C%20professional%20looking%20report%2C%20the%20PDF%20form%20of%20which%20is%20the%20finished%20product%20that%20we%20send%20to%20our%20clients.%20These%20templates%20have%20about%2020%20separate%20tabs%20a%20piece%2C%20but%20we%E2%80%99re%20only%20going%20to%20focus%20on%20the%20three%20that%20are%20relevant%20to%20my%20problem.%20Those%20are%3A%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3E1st%20Tab%3A%20Deal%20Inputs%20%E2%80%93%20This%20is%20where%20users%20enter%2Fdrop%20all%20the%20raw%20data%20for%20any%20given%20project%2C%20and%20set%20preferences%20for%20how%20things%20should%20calculate%2Fdisplay%2C%20etc.%20The%20sheet%20includes%20a%20bunch%20of%20stuff%2C%20but%20the%20problem%20I%E2%80%99m%20having%20only%20involves%20three%20ranges%20of%20merged%20cells.%20I%E2%80%99ve%20defined%20each%20of%20these%20separately%20as%20named%20ranges%3A%20ClientLogo%2C%20FrontCover%2C%20and%20BackCover.%20A%20different%20photo%20(jpg%2Fpng)%20gets%20inserted%20in%20each%20of%20the%20three%20named%20ranges%2C%20and%20sized%20to%20fill%20the%20entire%20range%2C%20horizontally%20and%20vertically.%20Moving%20on%E2%80%A6%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3E2nd%20Tab%3A%20Front%20Cover%20%E2%80%93%20This%20where%20the%20problem%20starts.%20It%E2%80%99s%20also%20page%201%20of%20the%20final%20package%20we%20PDF%20and%20send%20to%20the%20client.%20When%20I%20first%20designed%20this%20template%20in%20Excel%2C%20after%20creating%20the%20Named%20Ranges%20listed%20above%2C%20I%20then%20inserted%20two%20new%20photos%20onto%20the%20Cover%20tab.%20I%20sized%20those%20appropriately%20to%20fit%20well%20with%20the%20rest%20of%20the%20auto-generated%20content%20included%20on%20the%20cover%20page%20(which%20also%20pulls%20from%20the%20Deal%20Inputs%20Sheet%2C%20among%20other%20places).%20After%20inserting%2C%20I%20selected%20the%204th%20photo%20just%20inserted%2C%20and%20in%20the%20formula%20bar%20(with%20the%20*photo*%20on%20the%20cover%20tab%20selected%2C%20I%20typed%20my%20reference%20to%20the%20first%20named%20range%3A%20%3DClientLogo.%20I%20hit%20enter%2C%20and%20yay%20%E2%80%93%20my%20thumbnail%20client%20photo%20image%20that%E2%80%99s%20plugged%20into%20the%20Deal%20Inputs%20tab%20automatically%20takes%20the%20place%20of%20the%20original%204th%20image%20inserted%2C%20and%20is%20properly%20sized%2Fpositioned%20within%20the%20cover%20itself%20automatically.%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3EI%20repeat%20the%20same%20process%20for%20the%205th%20photo%20I%E2%80%99ve%20inserted%20on%20the%20Cover%20tab%2C%20only%20for%20this%20one%2C%20I%20reference%20the%202nd%20named%20range%3A%20%3DFrontCover.%20Once%20again%2C%20the%20thumbnail%20from%20Deal%20inputs%20takes%20the%20original%20image%E2%80%99s%20place%20on%20the%20cover%2C%20and%20automatically%20resizes%20to%20fit%20the%20page.%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3E3rd%20Tab%3A%20Back%20Cover%20%E2%80%93%20The%20problem%20continues%20here%2C%20and%20like%20the%20Front%20Cover%2C%20I%20followed%20the%20same%20process%20to%20initially%20set%20up%20the%20automatic%20back%20cover%20image%20here%2C%20using%20a%206th%20photo%20inserted%20on%20the%20Back%20Cover%20tab.%20This%20one%20references%20the%20third%20named%20range%20from%20Deal%20Inputs%3A%20%3DBackCover.%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3EPROBLEM%3A%20Once%20the%20file%20is%20uploaded%20to%2Faccessed%20from%20SharePoint%20via%20web%20browser%20by%20my%20colleagues%20and%20I%2C%20seemingly%20at%20random%2C%20I%E2%80%99ll%20notice%20that%20the%20file%20size%20has%20suddenly%20become%20massive%20(the%20first%20time%20I%20caught%20this%2C%20it%20was%20over%2035mb%2C%20and%20usually%20is%20only%20~6kb).%20Unless%20you%E2%80%99re%20paying%20attention%20to%20the%20file%20size%2C%20it%E2%80%99s%20impossible%20to%20see%20that%20there%E2%80%99s%20even%20a%20problem%2C%20which%20is%20that%20the%20%E2%80%9Cauto-pics%E2%80%9D%20on%20the%20front%20and%20back%20cover%20tabs%20are%20duplicating%20themselves%2C%20seemingly%20at%20random%2C%20one%20on%20top%20of%20the%20other%20(so%20you%20can%E2%80%99t%20ever%20*see*%20there%E2%80%99s%20more%20than%20one%20image%20until%20you%20select%20the%20what%20appears%20to%20be%20the%20only%20one%20and%20drag%20to%20either%20side%20and%20reposition%20it%2C%20revealing%20a%20replica%20of%20it%20beneath%20where%20the%20one%20on%20top%20was%20moved%20from.%20If%20others%20on%20my%20team%20who%20are%20less%20Excel-savvy%20access%20the%20file%20multiple%20times%20daily%20over%20the%20span%20of%20a%20few%20weeks%20but%20it%E2%80%99s%20been%20a%20while%20since%20I%E2%80%99ve%20opened%20it%20myself%2C%20the%20images%20sometimes%20wind%20up%20having%20been%20duplicated%20literally%20THOUSANDS%20of%20times%20over.%20To%20fix%20it%2Fclean%20up%20the%20file%20size%2C%20I%20just%20need%20to%20do%20a%20simple%20%E2%80%98Select%20All%20Objects%E2%80%99%20and%20press%20delete%2C%20but%20my%20God%20if%20it%E2%80%99s%20not%20annoying%20AF.%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3EThe%20original%2Fsource%20photos%20that%20users%20insert%20onto%20the%20Deal%20Inputs%20tab%20are%20never%20duplicated.%20*MY*%20company%20logos%20are%20never%20duplicated%20on%20the%20Front%20Cover%20or%20Back%20Cover%20sheets%20(because%20those%20are%20also%20just%20regular%20photos%20dropped%20onto%20the%20worksheets%2C%20rather%20than%20photos%20auto-generated%20via%20reference%20to%20named%20range.%20It%E2%80%99s%20only%20those%20three%20%E2%80%98Result%20Photos%E2%80%99%20contained%20on%20the%20covers%20-%20%3DClientLogo%2C%20%3DFrontCover%2C%20and%20%3DBackCover.%20And%20again%2C%20it%20*only*%20happens%20in%20versions%20that%20are%20shared%2Fsaved%20to%20SharePoint.%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3ESomeone%20PLEASE%20help%20me%20figure%20out%20what%20is%20causing%20this.%20If%20you%20open%20the%20attachment%2C%20note%20that%20it%20only%20includes%20the%20three%20tabs%20I%20am%20referencing%2C%20so%20links%2Fsome%20named%20ranges%2Fconditional%20formatting%20will%20be%20disabled.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-808516%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExcel%20for%20web%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
kmnotorius
Occasional Visitor

I’ve spoken with Microsoft Excel customer support about this and there are no other known instances of the problem my team and I are having with two of our templates, which I designed myself from scratch about a year ago. They suggested I post this thread to a handful of forums, in hopes that some awesome software genius out there can help me out. 

One crucial thing to note before I get into the detail of what’s happening is that we *only* encounter the issue once the file(s) are uploaded to SharePoint and accessed via a web browser (as opposed to opening from synced folder in Windows Explorer). In other words, if the file is saved locally on the machine or our internal server, the issue does not occur. Another thing to note is that it doesn’t *always* happen, and I haven’t been able to pinpoint the exact timing of when it actually takes place, since it’s an “invisible” problem. Which will make sense by the time you get to the end of this post. Anyways… 

The two workbooks I designed each serve very different purposes, but are alike in the sense that they’re set up to automatically create a print-friendly, clean, professional looking report, the PDF form of which is the finished product that we send to our clients. These templates have about 20 separate tabs a piece, but we’re only going to focus on the three that are relevant to my problem. Those are: 

1st Tab: Deal Inputs – This is where users enter/drop all the raw data for any given project, and set preferences for how things should calculate/display, etc. The sheet includes a bunch of stuff, but the problem I’m having only involves three ranges of merged cells. I’ve defined each of these separately as named ranges: ClientLogo, FrontCover, and BackCover. A different photo (jpg/png) gets inserted in each of the three named ranges, and sized to fill the entire range, horizontally and vertically. Moving on… 

2nd Tab: Front Cover – This where the problem starts. It’s also page 1 of the final package we PDF and send to the client. When I first designed this template in Excel, after creating the Named Ranges listed above, I then inserted two new photos onto the Cover tab. I sized those appropriately to fit well with the rest of the auto-generated content included on the cover page (which also pulls from the Deal Inputs Sheet, among other places). After inserting, I selected the 4th photo just inserted, and in the formula bar (with the *photo* on the cover tab selected, I typed my reference to the first named range: =ClientLogo. I hit enter, and yay – my thumbnail client photo image that’s plugged into the Deal Inputs tab automatically takes the place of the original 4th image inserted, and is properly sized/positioned within the cover itself automatically. 

I repeat the same process for the 5th photo I’ve inserted on the Cover tab, only for this one, I reference the 2nd named range: =FrontCover. Once again, the thumbnail from Deal inputs takes the original image’s place on the cover, and automatically resizes to fit the page.

3rd Tab: Back Cover – The problem continues here, and like the Front Cover, I followed the same process to initially set up the automatic back cover image here, using a 6th photo inserted on the Back Cover tab. This one references the third named range from Deal Inputs: =BackCover. 

PROBLEM: Once the file is uploaded to/accessed from SharePoint via web browser by my colleagues and I, seemingly at random, I’ll notice that the file size has suddenly become massive (the first time I caught this, it was over 35mb, and usually is only ~6kb). Unless you’re paying attention to the file size, it’s impossible to see that there’s even a problem, which is that the “auto-pics” on the front and back cover tabs are duplicating themselves, seemingly at random, one on top of the other (so you can’t ever *see* there’s more than one image until you select the what appears to be the only one and drag to either side and reposition it, revealing a replica of it beneath where the one on top was moved from. If others on my team who are less Excel-savvy access the file multiple times daily over the span of a few weeks but it’s been a while since I’ve opened it myself, the images sometimes wind up having been duplicated literally THOUSANDS of times over. To fix it/clean up the file size, I just need to do a simple ‘Select All Objects’ and press delete, but my God if it’s not annoying AF. 

The original/source photos that users insert onto the Deal Inputs tab are never duplicated. *MY* company logos are never duplicated on the Front Cover or Back Cover sheets (because those are also just regular photos dropped onto the worksheets, rather than photos auto-generated via reference to named range. It’s only those three ‘Result Photos’ contained on the covers - =ClientLogo, =FrontCover, and =BackCover. And again, it *only* happens in versions that are shared/saved to SharePoint.

Someone PLEASE help me figure out what is causing this. If you open the attachment, note that it only includes the three tabs I am referencing, so links/some named ranges/conditional formatting will be disabled.

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
35 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
29 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies