Hello Slipstick forum!
I got a little macro running which turns specific mails into tasks basically working as a tiny supportsystem for me to keep track of stuff at my company.
The thing is that it won't keep the formatting. I tried 3 way to do this:
Right now I just use
but I don't really like it that way as it's a mail in a task.
The second one is the 'open in word, copy, paste' method.
this one looks lovely, but keeps crashing every once in a while.
And simply using
resulsts in missing images, double spacing (which I have taken care of), and just odd formatting in general.
Is there any other way, or maybe some ideas to fix the crashes ?
Outlook 2010 H&B running on Server 2012R2.
If needed, I will provide further details and information.
Best wishes and thanks in advance,
Chris
I got a little macro running which turns specific mails into tasks basically working as a tiny supportsystem for me to keep track of stuff at my company.
The thing is that it won't keep the formatting. I tried 3 way to do this:
Right now I just use
Code:
newTask.Attachments.Add NewItem
The second one is the 'open in word, copy, paste' method.
Code:
Set objDoc = sourceItem.GetInspector.WordEditor
If Not objDoc Is Nothing Then
Set objSel = objDoc.Windows(1).Selection
objSel.WholeStory
objSel.Copy
Set objDoc2 = targetItem.GetInspector.WordEditor
If Not objDoc2 Is Nothing Then
Set objSel2 = objDoc2.Windows(1).Selection
objSel2.PasteAndFormat wdPasteDefault
End If
End If
newTask.Display
And simply using
Code:
newTask.Body = NewItem.Body
Is there any other way, or maybe some ideas to fix the crashes ?
Outlook 2010 H&B running on Server 2012R2.
If needed, I will provide further details and information.
Best wishes and thanks in advance,
Chris