vba code for a camera copy

Giordano Bruno

Well-known Member
Joined
Jan 7, 2007
Messages
1,231
Does anyone know the vba code to make an Excel "camera copy". When I try to record the macro, the camera copy does not work.
 

Some videos you may like

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off

Weaver

Well-known Member
Joined
Sep 10, 2008
Messages
5,196
What's a 'camera copy'? Do you mean the Windows 'print scrn' function? Or is this some hidden Excel trick I've not heard of?
 

Andrew Poulsom

MrExcel MVP
Joined
Jul 21, 2002
Messages
73,092
It's the same as Edit|Copy then Shift+Edit|Paste Picture Link:

Code:
Selection.Copy
Range("B13").Select
ActiveSheet.Pictures.Paste Link:=True
 

Giordano Bruno

Well-known Member
Joined
Jan 7, 2007
Messages
1,231
Andrew,

Many thanks. I'd been looking everywhere for that. Should have tried here first.

Hi, XLR8R. Looks like it's a new trick!
 

Watch MrExcel Video

Forum statistics

Threads
1,122,207
Messages
5,594,839
Members
413,943
Latest member
Dhornsby21

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
Top