Get our FREE VBA eBook of the 30 most useful Excel VBA macros.

Automate Excel so that you can save time and stop doing the jobs a trained monkey could do.

Claim your free eBook


Excel’s hidden camera tool

Hidden Camera Tool

The camera tool is probably one of the most underutilized tools in Excel. The reason it is underutilized is because it is hidden.

This simple tool will take a picture of a range of cells and place the picture of those cells on another part of the workbook.  You can move, re-size and add picture formatting options the picture.

The power of this tool is that the picture is not static, if the contents of the original pictured cells change, so does the picture.

What can you use the Camera Tool for?

  • A quick and dirty dashboard layout. One of the trickiest issues with dashboards is normally layout, as getting all the elements sized correctly can be a huge challenge. However, with the Camera tool you can simply take pictures of various tables and charts and place the pictures together on a new worksheet.
  • In cell charts and sparklines.  It was a great day when Microsoft introduced Sparklines. However sometimes you just need something outside of the standard feature set. With the camera tool you can take a picture of a chart, then size the picture to fit into a cell. If the chart data changes so does the picture.  Voila! You have just created a custom sparkline!
  • Visual check to another worksheet. The “Watch Window” feature, which you may have used previously, is sadly limited. It will only show the result of a formula. But what if you want to track how a chart or a table of data is changing based on inputs in a different worksheet? The camera tool is your solution.
  • Rotation of objects. I first came across the Camera Tool when a work colleague suggested it as an option to create a vertical line chart (draw a horizontal line chart, take a picture of it, then rotate the picture).  Whilst I think there are better ways to create a vertical line chart, the idea is still valid. You can use the Camera Tool to take a picture of any object, then apply rotation to the picture.
  • Pop up window. With a little bit of VBA trickery it is possible to hide/show the picture based on various events (e.g. a mouse click).  The picture will then function as an additional data widow. This is great for dashboards, or for example where clicking on a product number will display a picture of the product (very useful if your memory sucks).

How to install the Camera Tool?

On the ribbon

File -> Options -> Customize Ribbon

customiseribbon

Select the “All Commands” option from the “Choose commands from” drop-down box.  Scroll down to find the Camera tool and select it.

addcameratool1

In the box on the right find the location in the ribbon where you wish to place the tool.  For me, the Insert ribbon appears to make the most sense.  Then click New Group at the bottom of the box (or New Tab, then New Group if you are placing the tool on a new ribbon).

Click Add, to add the Camera Tool to the group you have created.

addcameratool2

You can choose to rename the group if you wish and then click OK.

On the QAT (Quick Access Toolbar)

Follow the same procedure above, but select Quick Access Toolbar, rather than Customize Ribbon.  There is no need to add a new group; you can add the Camera Tool straight into the QAT.

How to use the Camera Tool?

  1. Select the cells you wish to take a picture of
  2. Click the Camera Tool
  3. The mouse will now become a cross-hair icon
  4. Click and drag the mouse to the location you wish to display the picture (or double-click).
  5. The picture will appear
  6. Resize, move and format the picture as if it were any other image.

A few warnings/tips

  1. Excel will automatically insert a border around the picture. But you can remove it as if it were like any other drawing object.
  2. Once the picture is selected the formula bar will show the range pictured. Changing the range in the formula bar will change the range pictured. You can also link the image to a named range to create a dynamic picture lookup.
  3. The pictured range and the picture do not need to be in the same worksheet, but they do need to be in the same workbook.
  4. If the picture on the screen looks pixelated, just make sure it’s sized to 100%.

Headshot Round

About the author

Hey, I’m Mark, and I run Excel Off The Grid.

My parents tell me that at the age of 7 I declared I was going to become a qualified accountant. I was either psychic or had no imagination, as that is exactly what happened. However, it wasn't until I was 35 that my journey really began.

In 2015, I started a new job, for which I was regularly working after 10pm. As a result, I rarely saw my children during the week. So, I started searching for the secrets to automating Excel. I discovered that by building a small number of simple tools, I could combine them together in different ways to automate nearly all my regular tasks. This meant I could work less hours (and I got pay raises!). Today, I teach these techniques to other professionals in our training program so they too can spend less time at work (and more time with their children and doing the things they love).


Do you need help adapting this post to your needs?

I'm guessing the examples in this post don't exactly match your situation. We all use Excel differently, so it's impossible to write a post that will meet everybody's needs. By taking the time to understand the techniques and principles in this post (and elsewhere on this site), you should be able to adapt it to your needs.

But, if you're still struggling you should:

  1. Read other blogs, or watch YouTube videos on the same topic. You will benefit much more by discovering your own solutions.
  2. Ask the 'Excel Ninja' in your office. It's amazing what things other people know.
  3. Ask a question in a forum like Mr Excel, or the Microsoft Answers Community. Remember, the people on these forums are generally giving their time for free. So take care to craft your question, make sure it's clear and concise.  List all the things you've tried, and provide screenshots, code segments and example workbooks.
  4. Use Excel Rescue, who are my consultancy partner. They help by providing solutions to smaller Excel problems.

What next?
Don't go yet, there is plenty more to learn on Excel Off The Grid.  Check out the latest posts:

Leave a Reply

Your email address will not be published. Required fields are marked *