Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / October 2006

Tip: Looking for answers? Try searching our database.

Word to a simple HTML

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Cipherscribe - 10 Oct 2006 08:39 GMT
HI There,

I want to be able to create a macro that adds code before and after
some coloured and/or bold text, such that I can cut the results
directly from word into a forum. I do this on a very regular basis so
it would be very handy to automate. for example, if the word "fox" was
in bold and blue below:

In word it would be

"The quick brown fox" (although fox would be blue and bold), to:

"The quick brown [color=blue][b]fox[/b][/color]"

Essentially I'd luv the code to be able to identify when the text is
colored, and/or bolded, then add the tags so I can cut/paste directly
into the forum.

Any help would be appreciated.

Cheers,
Shauna Kelly - 10 Oct 2006 10:00 GMT
Hi Cipherscribe

See the following for an example, which you could alter to suit your
specific needs (if the link breaks in translation, you'll have to glue it
back together again):

http://groups.google.com.au/group/microsoft.public.word.formatting.longdocs/brow
se_thread/thread/83a373e2ab6faf56/2f3ee7dbc0872250


Hope this helps.

Shauna Kelly.  Microsoft MVP.
http://www.shaunakelly.com/word

> HI There,
>
[quoted text clipped - 17 lines]
>
> Cheers,
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.