Excel insert picture either through macro or button

Posted on 2014-03-07
Last Modified: 2014-03-11

I was asked the following question.

Is there a way to create either a hot key or button or macro that can insert a picture logo that is always in the upper left corner that puts in a certain size when a user selects it.
Then to also distribute it out to users.

Thanks in advance

windows 7 64
excel 2007
Question by:rha_mtl
  • 4
  • 3
LVL 29

Expert Comment

ID: 39913713
what do you mean by upper left corner ? Cell A1 ? and to answer quickly yes.

Author Comment

ID: 39913720
Yes sorry Cell A1

How do you do this?
LVL 29

Accepted Solution

gowflow earned 500 total points
ID: 39913726
This is an Example.

Load the file activate macros, press CTRL S you will see the picture in the corner. Press again CTRL S it will disappear.
Sub ShowPicture()
If Image1.Visible Then
    Image1.Visible = False
    Image1.Visible = True
End If
End Sub

Open in new window

Is this what you want ?
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.


Author Comment

ID: 39920389
Yes. thats what I want

How do I make it available for all users with my picture?
LVL 29

Expert Comment

ID: 39920495
Did I answer your initial question ?
if yes, rule says you close that question and if need more then ask a new one with link in here so If you need my help I can assist.

LVL 29

Expert Comment

ID: 39920687
Thank you pls post a link in here of the new question and will be glad to assist. Extending to more users is not that obvious !!!

Author Comment

ID: 39921253
Please see my other post on how to distribute a macro.

Make excel macro available to all users

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

832 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