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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
LVL 30

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 30

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 ?
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.


Author Comment

ID: 39920389
Yes. thats what I want

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

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 30

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

734 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