al4629740
asked on
Bold the last word in vb
I know this will bold the last line:
myDOc.Sentences.Last.Bold = True
How can I bold the last "word"
myDOc.Sentences.Last.Bold = True
How can I bold the last "word"
Is this in MS Word? What version?
ASKER
yes, ms word 2003
myDOc.Sentences.Words(myDO c.Sentence s.Words.co unt-1).Bol d = True
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I get "data member not found.." Why is this happening?
ASKER
I tried:
myDOc.Words.Last.Bold = True
But it does not do anything. Why Not?????
myDOc.Words.Last.Bold = True
But it does not do anything. Why Not?????
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.