Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 186
  • Last Modified:

Paste from Word into Outlook (not as attachment) and send

Hi,
I am new at this.  I need to copy text from a Word document, send it to Outlook and have it pasted into the main body of an e-mail (but not as an attachment).  Can anyone help me?
0
Stuff
Asked:
Stuff
1 Solution
 
levrCommented:
This is some fragments from working application.
File is saved as txt type then retrieved.

FileName = "file_name"
oWordDoc.SaveAs FileName:=FileName, FileFormat:=wdFormatText, LockComments:=False, _
            Password:="", AddToRecentFiles:=False, WritePassword:="", ReadOnlyRecommended:=False, _
            EmbedTrueTypeFonts:=False, SaveNativePictureFormat:=False, SaveFormsData:=False, SaveAsAOCELetter:=False

Open FileName For Binary Access Read As #lngFileNo
        Dim strTemp As String
        strTemp = String(LOF(lngFileNo), " ")
        Get #lngFileNo, , strTemp
        Close #lngFileNo

Set oMess = oSess.Outbox.Messages.Add
        Set oRec = oMess.Recipients.Add
        oRec.Name ="email_address")
        oRec.Resolve
        oMess.Subject ="subject"
        oMess.Text = strTemp
        oMess.DeliveryReceipt = False
        oMess.Update
        oMess.Send SaveCopy:=False, ShowDialog:=False

0
 
StuffAuthor Commented:
Sorry......I should have been more clear.  I need to write a Word Macro that will do this.
0
 
mlmccCommented:
Why not just turn on macro recording and do it your self.  When done turn off the recording and look at the macro to make it do what you really need.

good luck
mlmcc
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
StuffAuthor Commented:
I can't.....I tried.....might be because of Windows 95 or Office 97....but it won't work.
0
 
DanRollinsCommented:
Hi Stuff,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will suggest to:

    Refund points and save as a 0-pt PAQ.

EXPERTS: Post a comment if you are certain that an expert deserves credit.  Explain why.
==========
DanRollins -- EE database cleanup volunteer
0
 
Computer101Commented:
Placed in PAQ

Computer101
E-E Moderator
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now