VBA Screenshot given cell range

josh_oneill

New Member
Joined
Feb 13, 2019
Messages
14
Dear All,

I currently have a spreadsheet that will be copied and pasted into a power point presentation each time it is used.
Is there a way to capture a screen print of a given cell range (A1:AE132) or what is currently on screen (Excluding the top ribbon, Formula bar and headings) using a VBA button? i.e. just capture the actual sheet. Then make that available to paste into Power Point? The given area is very large but I have numerous buttons to hide and unhide rows and columns depending on what view the user needs.

Thanks,
Josh
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
I'd suggest copying the cells and pasting as a linked object. You can then hide/unhide rows and columns in Excel and Powerpoint will immediately refresh accordingly.
 
Upvote 0
Hey Neil,

The issue I face is there are a few text boxes that also need capturing. How would I go about capturing those?

Thanks,
Josh
 
Upvote 0
Text boxes would be displayed just like cells. Try the following:

  1. Select a small number of cells and copy them
  2. Go to Powerpoint and paste as a linked object (Alt+E,S,I)
  3. Go back to Excel and insert a textbox that overlaps the linked range

You should immediately see the textbox in PPT. If not, right-click the picture and select Update link.
 
Upvote 0

Forum statistics

Threads
1,214,638
Messages
6,120,674
Members
448,977
Latest member
moonlight6

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top