LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default need code to copy text from workbook and paste it in a new outlookmessage

Hi,
I'm new to macro. I've created a control button and assigned it a
macro as per below to copy text.

Code:

Sub COPY()
'
' COPY Macro
'

'
Range("B4:K23").Select
Selection.COPY
End Sub

i need the functionality to extend this code.

i want it to copy open a new outlook message paste the copied
content in the body of the message.

insert " in the TO field, " in the CC field &
"This is a test message" in the subject field.
I dont want the email to be sent, but rather to be displayed.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to copy and paste row as a text within workbook including numbers GorKo Excel Programming 5 November 12th 07 09:04 AM
VBA code to copy and paste by values from one Excel workbook to another Nhien Excel Programming 7 August 17th 07 04:06 PM
copy and paste using code from workbook to workbook bigdaddy3 Excel Discussion (Misc queries) 2 September 14th 05 11:06 AM
Code-Copy & Paste in Text Boxes Bourbon[_27_] Excel Programming 1 January 28th 04 12:53 AM
VBA Code- Copy and paste into a generic text box Bourbon[_18_] Excel Programming 0 January 23rd 04 02:42 PM


All times are GMT +1. The time now is 03:47 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"