|In Outlook 2007, I often receive e-mail responses from people where the line spacing in their message (and in my original e-mail to which they are responding) has been set to Auto, which looks like double-spaced text.|
I hate going through the trail of attached e-mails changing the line spacing back to get rid of the extra space, but not doing it means that I must do a lot more scrolling to see what I'm responding to.
I wanted to create a simple macro for changing the line spacing of the selected text, but Outlook has no "macro record" button! So I had to write one. In order to do this, I recorded the same macro in Word, then copied the macro code to a new macro in Outlook. But when I run it, it doesn't work at all. I get an error message: "The macros in this project are disabled. Please refer to the online help or documentation of the host application to determine how to enable macros."
Previously I had a different error. I used the following code:
.SpaceBefore = 0
.SpaceBeforeAuto = False
.SpaceAfter = 0
.SpaceAfterAuto = False
.LineSpacingRule = wdLineSpaceSingle
And I had an error that "Selection" was not defined (or something like that).
What do I need to do to get this to work?