LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Styles in a cell


hi,
i have a problem with changing the styles in the cells.

Suppose a cell contains some text, say "<F<Center 354<N<F<UTest
String<G<N"
where,
the text between <F and <N are made bold and the text between <U and
<G are made underline.

This i want to make it through the VBA Code. The text with bold and
underline style can be done individually, but the thing is when there
is a combination of both, it doesn't happen. All the previous styles
are taken off from the cell and only the underline style remains...
Finally, the cell content shud be
<CENTER 354[/b][b]_TESTSTRING_

Can anyone help me out with this issue??
Again, all this have to be done with VBA..

Thanks and regards,
Sriram


--
sriramp777
------------------------------------------------------------------------
sriramp777's Profile: http://www.excelforum.com/member.php...o&userid=34595
View this thread: http://www.excelforum.com/showthread...hreadid=543673

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cell Styles on Ribbon Stephen J Excel Discussion (Misc queries) 1 April 14th 10 08:13 AM
some unknown Cell styles are shown in cell styles Vaibhav Dhawade Excel Worksheet Functions 0 March 6th 10 05:11 AM
Excel Cell Styles - Quick Styles? Dean@DCF Excel Discussion (Misc queries) 0 November 15th 07 10:40 PM
New Cell Styles Steve... New Users to Excel 4 April 1st 07 04:56 PM
Different Styles within a single Cell Jérémie Gent Excel Programming 4 April 19th 06 12:44 PM


All times are GMT +1. The time now is 12:50 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"