add'l questions on emailing excel through macro (SOLVED)

kskinne

Well-known Member
Joined
Feb 17, 2002
Messages
1,267
Office Version
  1. 365
Platform
  1. Windows
I have posted some previous questions on emailing within excel. I have a different question, though it is related:

I have a macro that takes a cell range, copies it as a picture to the clipboard, then pastes the picture into another sheet in the same workbook. Then the macro selects the cell range where the new picture is sitting, and copies it to the clipboard. I can then take this and copy it into a message in outlook or outlook express. here is my code:

Sub copy_picture()
Application.ScreenUpdating = False
Range("A1:L37").CopyPicture
Sheets("image of invoice").Select
ActiveSheet.Paste
Range("A1:L37").Copy
Application.ScreenUpdating = True
End Sub


My question is this: is there any way that I can automate the pasting into a message in outlook express through a macro? Or in other words, is it possible to write commands to another program into a macro in excel?

Thanks in advance,
Kevin
This message was edited by kskinne on 2002-11-07 13:24
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.

Forum statistics

Threads
1,224,396
Messages
6,178,389
Members
452,844
Latest member
Shebl

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