Re: Making text plain or bold in Word
Re: Making text plain or bold in Word
- Subject: Re: Making text plain or bold in Word
- From: David Wignall <email@hidden>
- Date: Sat, 12 Apr 2003 21:07:01 +1200
on 12/4/2003 6:36 PM, Oz.Springs at email@hidden wrote in regards
to Shane Stanley's script:
>
Yes it does, but it does some strange things with the styles in the 6 page
>
document on which I tested your script. The style changes to "Title"
>
throughout and the font is listed as "Times New Roman" in the font menu but it
>
is still showing as Benguiat Gothic on screen.
You might be getting bitten by Word's AutoFormat, annoying thing that it is.
on 12/4/2003 6:51 PM, Oz.Springs at email@hidden wrote in regards
to my script/VBA hybrid:
>
I could not get this script to work at all. Shane's script works partially
>
(tested it out on a 2nd document and it retains centred, underlined text and
>
bold).
I didn't think of paragraph formatting and it would need tending to. You
could insert something like
With .ParagraphFormat
.Alignment = wdAlignParagraphLeft ' and more
End With
into the initial With ActiveDocument but overall I think Paul's 'create a
style' approach might be more effective. Bold and underline should have
worked. I really did test before I sent, with Script Editor 1.9 and Word X.
Did anything happen at all?
--
Dave
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.