I’d really like to be able to hide graphics (pasted screen shots) in comments
so the user has to view the comment to see the screen shot, but you can’t
paste graphics into comments. Is there a way to hide these graphics so
the user can click something to reveal the images?
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Hide pasted graphics (2002)
Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » Hide pasted graphics (2002)
- This topic has 15 replies, 6 voices, and was last updated 20 years, 2 months ago.
AuthorTopicWSKevin
AskWoody LoungerMarch 7, 2003 at 7:56 pm #384458Viewing 1 reply threadAuthorReplies-
WSsdckapr
AskWoody LoungerMarch 7, 2003 at 8:26 pm #659645Here is a thought (there are other ways)
Could you put the graphics in a Userform?Then have a button on the sheet that puts a particular picture in the userform based on the activecell and shows the form?
You could also add the comments to the form.
You could get fancy and ONLY have the button visible/active when the active cell was particular cells (via worksheet selection_change event) or the selection change could SHOW the picture automatically if desired.
Steve
-
WSKevin
AskWoody Lounger -
WSsdckapr
AskWoody LoungerMarch 8, 2003 at 3:43 am #659742You could write code (or get our help) to have them copy the screenshot and then by pushing a button it would paste, resize, place the picture, hide it and do whatever else you wanted. Easy on the user.
It sounds like you are looking at a 2 step problem:
1)User has to copy, place, screen shot
2) then another user will do something to view the screenshotsCould you give some details of what you would like the code to do and how it would be setup? Both parts could be automated.
Steve
-
-
WSAndrew Cronnolly
AskWoody LoungerMarch 7, 2003 at 9:05 pm #659660Kevin,
Pictures and Graphics are part of the Shapes collection of a Worksheet. If you have an image called Picture1, then the following code should make it hidden :
ActiveSheet.Shapes(“Picture1”).Visible = False
Attached find a sample with a command button to toggle Show/Hide.
Right click on the Sheet tab and select View Code.
Andrew
-
WSKevin
AskWoody LoungerMarch 7, 2003 at 10:20 pm #659676Andrew,
That is, of course, very cool. But I’m trying to do this at the
“user” level. IOW, no code, if possible. The user needs to be able
to do a Alt-PrintScr, then paste the screen shot into the
worksheet, then hide the pic.Humm. I could put a button on the sheet like you did, and have the
code behind it set all the pics in, say, column D or whatever go invisible.That might work…But the user would have to make sure the pic got
pasted in column D. Are pics “anchored” in cells or is there a
“drawing” layer like Word? -
WSAlanMiller
AskWoody LoungerMarch 8, 2003 at 11:56 am #659767Hi Kevin
I’d be most interested to know how to place graphics within cells too. My limited understanding was that they belonged to a layer, as you describe it, rather than being able to be “anchored” inside cells. I had a problem a while back, where I wanted the .JPG graphic corresponding to a path/file reference, to be displayed in the cell containing said reference.
Alan
-
WSjstevens
AskWoody Lounger -
WSAlanMiller
AskWoody LoungerMarch 9, 2003 at 2:12 am #659849Thanks John, and to Steve for the extra information. I’ll certainly give the code a shot. To get specific about the particular project I have in mind, the sheets contain records from a product catalogue with one product per row. One of the columns contains a file reference to a folder that “lives” directly below the .xls. A typical entry might be “pk104.jpg” for product pk104. However, this entry might be the same for the next half a dozen rows – pk104s, pk104t etc. It would therefore be desirable for the graphic to “span” the rows it applies to, but be “attached” to the pk104 cell. Also, all the graphics would appear in the one column, so the column width will be set to the maximum graphic width on that sheet (easy enough).
The whole thing was derived from a Word doc, where merging cells in a table was used to achieve this “row spanning” effect. At the moment, I have simply used a toolbar button that displays the graphic of the active row in a modal self-sizing popup, but this idea is not conducive to printing the catalogue with graphics, the way it could be done in Word. There are also different issues for onscreen and printed views involving multiline cell entries, but I have addressed (most of) these with appropriate code and commandbar buttons, to produce various “views”.
Any further suggestions for this configuration most welcome, of course.
Alan
-
WSsdckapr
AskWoody LoungerMarch 9, 2003 at 3:31 am #659854 -
WSAlanMiller
AskWoody LoungerMarch 9, 2003 at 3:43 am #659855I toyed with hyperlinks, but users found it distracting jumping to & from IE/Excel. They liked the way the little popups worked though. The real problem I had with this project though, relates to the printable version, rather than the onscreen presentation & navigation. That is, getting the pictures “physically” into cells, with the appropriate cell “spanning”, and the ability to print the whole show properly.
Alan
-
WSsdckapr
AskWoody LoungerMarch 9, 2003 at 2:30 pm #659878Some thoughts:
I would think about 2 versions. A “printable” one with all the pictures in the right locations and the “viewable” one. It is tough to have something that meets both well.One should be the master if you are going to edit directly onto it and the other should be based on the “master” so when the master is updated the other is also updated.
Or you just work with the viewable one (with popups) and have a macro to “create the printable” whenever you want to print it.
I have heard that a “pdf” vesion can still maintain some excel features, though I have never used this.
Steve
-
WSAlanMiller
AskWoody LoungerMarch 10, 2003 at 1:29 pm #659975Interesting thoughts. I’ve thought about lots of alternatives myself during this ongoing project. One was to try to “export” the spreadsheets to a Word doc, where a table structure might provide better formatting options. Another was to use HTML with image tags around the links to the graphics. There are so many issues here, not helped by the client adding to the project all the time, and being blissfully oblivious to the difficulties involved, like why you can’t manage to print 60cm of columns across an A4 page
Certainly the idea of a master is an important one, with “views” derived from only that, via references/links. The printable version, if it ever comes off, would be exactly that, with no need for any “Excel features” save for the rows & columns.
Thanks for the input, and for anything else you might suggest.
Alan
-
WSKevin
AskWoody Lounger
-
-
-
WSsdckapr
AskWoody LoungerMarch 8, 2003 at 5:06 pm #659800If you make the cell wide enough and tall enough to complete enclose the picture, you can format the picture to move and size with the cell and it will stay with the cell thru most operations (you can even sort with it this way)
This would be equivalent to having a “graphic” as a field in a database.
It gets more squirrely if the graphic goes across rows and columns. If you insert/delete col or rows the graphic will change size, but moving individual cells does not change the size, but moving an entire region of cells enclosing the picture will move the picture.
Steve
-
WSellobie
AskWoody LoungerApril 11, 2005 at 5:38 pm #940289So, not exactly timely, but something I learned today and definitely good to know – if you do want to sort and keep the graphics with the originating cells, all the cells in the spreadsheet must be tall enough to hold the tallest cell (i.e.; if you have one cell that needs to be 75 pts. tall to enclose the graphic, you need to make ALL the cells 75 pts. tall) or else you run the risk of having some graphics becoming disassociated with their originating cell text.
-
-
Viewing 1 reply thread -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
4 Strange Facts About Тостер За Сандвичи (Awaiting moderation)
by
rosalinepettey6
4 hours, 31 minutes ago -
Windows 11 blocks Chrome 137.0.7151.68, 137.0.7151.69
by
Alex5723
12 hours, 54 minutes ago -
Are Macs immune?
by
Susan Bradley
10 hours, 17 minutes ago -
HP Envy and the Function keys
by
CWBillow
15 hours, 59 minutes ago -
Microsoft : Removal of unwanted drivers from Windows Update
by
Alex5723
1 day ago -
MacOS 26 beta 1 dropped support for Firewire 400/800
by
Alex5723
1 day ago -
Unable to update to version 22h2
by
04om
11 hours, 11 minutes ago -
Windows 11 Insider Preview Build 26100.4482 (24H2) released to Release Preview
by
joep517
1 day, 7 hours ago -
Windows 11 Insider Preview build 27881 released to Canary
by
joep517
1 day, 7 hours ago -
Very Quarrelsome Taskbar!
by
CWBillow
17 hours, 48 minutes ago -
Move OneNote Notebook OFF OneDrive and make it local
by
CWBillow
1 day, 20 hours ago -
Microsoft 365 to block file access via legacy auth protocols by default
by
Alex5723
1 day, 9 hours ago -
Is your battery draining?
by
Susan Bradley
7 hours, 37 minutes ago -
The 16-billion-record data breach that no one’s ever heard of
by
Alex5723
8 hours ago -
Weasel Words Rule Too Many Data Breach Notifications
by
Nibbled To Death By Ducks
2 days ago -
Windows Command Prompt and Powershell will not open as Administrator
by
Gordski
1 day, 8 hours ago -
Intel Management Engine (Intel ME) Security Issue
by
PL1
1 day, 9 hours ago -
Old Geek Forced to Update. Buy a Win 11 PC? Yikes! How do I cope?
by
RonE22
1 day, 1 hour ago -
National scam day
by
Susan Bradley
8 hours, 10 minutes ago -
macOS Tahoe 26 the end of the road for Intel Macs, OCLP, Hackintosh
by
Alex5723
1 day, 4 hours ago -
Cyberattack on some Washington Post journalists’ email accounts
by
Bob99
3 days, 1 hour ago -
Tools to support internet discussions
by
Kathy Stevens
1 day, 14 hours ago -
How get Group Policy to allow specific Driver to download?
by
Tex265
2 days, 16 hours ago -
AI is good sometimes
by
Susan Bradley
3 days, 9 hours ago -
Mozilla quietly tests Perplexity AI as a New Firefox Search Option
by
Alex5723
2 days, 23 hours ago -
Perplexity Pro free for 12 mos for Samsung Galaxy phones
by
Patricia Grace
4 days, 9 hours ago -
June KB5060842 update broke DHCP server service
by
Alex5723
4 days, 7 hours ago -
AMD Ryzen™ Chipset Driver Release Notes 7.06.02.123
by
Alex5723
4 days, 11 hours ago -
Excessive security alerts
by
WSSebastian42
3 days, 2 hours ago -
* CrystalDiskMark may shorten SSD/USB Memory life
by
Alex5723
4 days, 21 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.