Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
vozeditor
 
Posts: n/a
Default Need a button in Word for HTML quick codes

How do I put a button in the toolbar that would allow my staff to select text
and then click the button to put something like b/b around the selected
text?

So that I can be typing along, find something I want to bold, select it and
make it bbolded text/b

Help would be nice
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Cindy M -WordMVP-
 
Posts: n/a
Default Need a button in Word for HTML quick codes

Hi ?B?dm96ZWRpdG9y?=,

How do I put a button in the toolbar that would allow my staff to select text
and then click the button to put something like b/b around the selected
text?

So that I can be typing along, find something I want to bold, select it and
make it bbolded text/b

You'd need to link the buttons to macros that add the HTML tags. Example:

Sub BoldTags()
Dim rng as Word.Range

Set rng = Selection.Range
rng.InsertBefore "b"
rng.InsertAfter "/b"
End Sub

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Word 97 in Windows XP to maintain formatting Charlie''s Word VBA questions Microsoft Word Help 22 May 20th 23 08:51 PM
How to put graphics on envelopes? Steve Koenig Microsoft Word Help 21 April 29th 23 02:47 AM
Please give us REVEAL CODES like WORD PERFECT not reveal codes in. Rachel King Microsoft Word Help 38 August 21st 09 09:54 PM
Converting Word Perfect forms to Word forms elyse Microsoft Word Help 1 February 15th 06 08:17 PM
Envelope Address GR New Users 5 April 24th 05 09:48 PM


All times are GMT +1. The time now is 11:20 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"