printing and saving screenshots at the same time

Chuthry

New Member
Joined
Mar 28, 2010
Messages
33
Hi, i need to create a excel macro that can send a independent application screenshot to print out to printer and at the same time save the image in excel spreadsheet. The saving portion would be append.

Example the 1st screenshot is saved till row5, i need the macro to save the second screenshot starting from row6, is this possible?

If Not , how do i create a macro to save/paste a image after 5rows in excel?
example, row1 to row5 is for first image, row6 to row10 is for second image and row11 to row15 is for third image and so on.

Would appreciate any expert help on this. Thanks
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
I'm not sure what you want. Something like this perhaps

Code:
Sub test()
Range("A1:F5").CopyPicture
Range("A6").Select
ActiveSheet.Paste
End Sub
 
Upvote 0
Hi peter
i want to ask u
why u select the range A6 then paste the picture with activesheet
 
Upvote 0
Actually, this also works

Code:
Sub test()
With ActiveSheet
    .Range("A1:F5").CopyPicture
    .Paste .Range("A6")
End With
End Sub
 
Upvote 0
Hi peter
i tested this code
is it the same as ur code
Code:
Sub Test1()
Range("a1:f5").CopyPicture
Range("a6").PasteSpecial
End Sub
 
Upvote 0
Hi this does not solve my issue totally

The macro need to be able to paste 2nd screenshot from row 6 and to paste 3rd screenshot from row10

Macro need to be smart enough to perform this.

Is there any way to have a macro to print based on user selection for screenshot?
Example, if user want to print 1st and 3rd screenshot can there be a checkbox to for user to select and send the screenshot to printer for printing?
 
Upvote 0
Do you mean like this:

Code:
Sub test()
With ActiveSheet
    .Range("A1:F5").CopyPicture
    .Paste Destination:=.Range("A6")
    .Range("A6:F10").PrintOut
End With
End Sub

I don't understand about the second screenshot - surely it will be the same as the first?
 
Upvote 0

Forum statistics

Threads
1,213,567
Messages
6,114,342
Members
448,570
Latest member
rik81h

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