|
-
Feb 22nd, 2006, 10:50 AM
#1
Thread Starter
Lively Member
text properties
I am trying to insert bold text to word 97 using a macro from excel:
Wrd.ActiveDocument.Fields(10).Select
With Wrd.Selection
.Font.Bold = wdToggle
.InsertAfter Text:="HOW TO CONTACT US"
End With
However, the text when inserted is not being bolded, any suggestions?
The Box Said: "You need Windows Vista or better" ... So I Installed LiNUX 
-
Feb 22nd, 2006, 10:56 AM
#2
Re: text properties
Get the range start position before you add the text.
Add the text.
Get the range end position (which is the start of the new one)
Set the range
Bold it.
Something like that. Try putting the text in first then bolding it.
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|