Delete headers in Inline reply

marc651

New Member
Outlook version
Outlook 2016 64 bit
Email Account
Office 365 Exchange
Hello, I am new at VBA, so i post my question here.

I would like to delete the headers when I do a InLine reply after pushing a button in the ribbon. (The 'From:', 'Sent:', 'To:' and 'Subject:')

And is it posible to set the cursor after a specific word after that.


Beste regards, Marc
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
Sorry, I didn't see this earlier. You can remove the header - I think i have the code to do that, here somewhere, but one easy option is using vba to copy the original message and paste it in the reply. The only issue is it won't have the quote indicators on the left, assuming you use them.

As for placing the cursor in a specific location, that would be difficult unless it was the same place for every message.
 

marc651

New Member
Outlook version
Outlook 2016 64 bit
Email Account
Office 365 Exchange
The only issue is it won't have the quote indicators on the left, assuming you use them
I'm sorry, but I don't understand what you mean by this.

And is it posible without opening a new window? Like in an Inline Reply?

And yes, the cursor is always at the same location. The answer is the same in every reply.
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
If you copy the message, hit reply then select all > paste, it creates a reply using the original message body, without the reply header. If you have outlook set to add > to plain text messages or indent, you lose that.

Running macros in the reading pane is a little more difficult. I don't think it can do this, but will double check. (My macros that move the signature pop it out - i'm pretty sure sure it was a requirement.)
 

marc651

New Member
Outlook version
Outlook 2016 64 bit
Email Account
Office 365 Exchange
I understand(regarding to the InLine reply.

The copy thing is something I rather not do. The reason I want this macro is because I receive about 200 to 300 apliances a day for whitch I must do several things to search. So everything I can automate to save time is welcome. That is why I just want to push a button, and only have to type in a specific number, and press send.

When it is not possible to run the macro without opening a window, is it perhaps posible to set the original mail as read after the macro has run.
(without me have to do this manualy?
 
Top