[mso] Re: Testing LineWrap macro for Peter

  • From: "Greg Chapman" <greg@xxxxxxxxxxxxx>
  • To: <mso@xxxxxxxxxxxxx>
  • Date: Tue, 21 May 2002 10:27:55 -0500

Peter,

Here are a couple macros that you should be able to use for the function
of LineWrap in Wordmail:

Sub TurnOffLineWrap()

Dim objview

Set objView=ActiveWindow.View

If objView.WrapToWindow=True Then objView.WrapToWindow= False

End Sub


Sub TurnOnLineWrap()

Dim objView

Set objView=ActiveWindow.View

If Not  objView.WrapToWindow Then objView.WrapToWindow= True

End Sub 

Greg Chapman
http://www.mousetrax.com 
"Counting in binary is as easy as 01, 10, 11!
With thinking this clear, is coding really a good idea?"


> -----Original Message-----
> From: mso-bounce@xxxxxxxxxxxxx 
> [mailto:mso-bounce@xxxxxxxxxxxxx] On Behalf Of Greg Chapman
> Sent: Tuesday, May 21, 2002 10:08 AM
> To: mso@xxxxxxxxxxxxx
> Subject: [mso] Testing LineWrap macro for Peter
> 
> 
> 
> Wrap off...
> 
> Greg Chapman
> http://www.mousetrax.com 
> "Counting in binary is as easy as 01, 10, 11!
> With thinking this clear, is coding really a good idea?"
> 
> 
> *************************************************************
> PLEASE READ!!!!
> 
> You are receiving this mail because you subscribed to 
> mso@xxxxxxxxxxxxx or MicrosoftOffice@xxxxxxxxxxxxxxxx
> 
> To Unsubscribe from this group, send an email to 
> mso-request@xxxxxxxxxxxxx with a subject line that says 
> "unsubscribe" (without the quotes).  Do not put unsubscribe 
> IN CAPS.  Screaming doesn't get you out any faster and the 
> caps prevent the function from working.
> 
> To change your email settings to digest or vacation (no 
> mail), visit the group's homepage for full instructions.
> 
//www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group,
send a request to mso-moderators@xxxxxxxxxxxxx and you will be sent an
invitation with instructions.
*************************************************************


*************************************************************
PLEASE READ!!!!

You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or 
MicrosoftOffice@xxxxxxxxxxxxxxxx

To Unsubscribe from this group, send an email to mso-request@xxxxxxxxxxxxx with 
a subject line that says "unsubscribe" (without the quotes).  Do not put 
unsubscribe IN CAPS.  Screaming doesn't get you out any faster and the caps 
prevent the function from working.

To change your email settings to digest or vacation (no mail), visit the 
group's homepage for full instructions.

//www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group, send a 
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with 
instructions.
*************************************************************

Other related posts: