Using Word macro in Outlook

R

R.U. Steinberg

I recorded a simple macro in Word 2003 that I assigned to the keyboard as
Alt-V that pastes plain text (as opposed to formatted, RTF, or HTML text).

I want this same keyboard shortcut to work in Outlook. I understand Outlook
does not have a macro recorder.

The macro shows up in Outlook but I do not know how to make it function. I
have read somewhere that I have to put a button on the Outlook menu (can't
figure out how to do that) then click it to activate the macro in Outlook so
that the Alt-V shortcut works. Or is that incorrect?

What steps do I have to do to? Or is it impossible?
 
M

Michael Bauer [MVP - Outlook]

Am Mon, 14 Apr 2008 13:58:00 -0700 schrieb R.U. Steinberg:


To assign it to a button, right-click on the toolbar, choose Customize,
Commands, Macros and drag the macro's name to the toolbar.

For telling you how to make the code working, it would be helpful to
know that code.
 
R

R.U. Steinberg

Thank you for your response. I dragged the item to the toolbar--how do I
assign it to the key (Alt-V)?

The code is as follows:

Sub Macro1()
'
' Macro1 Macro
' Macro recorded 3/17/2008
'
Selection.PasteAndFormat (wdPasteDefault)
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top