Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Copying Formated Text

Hi,
Does anyone know is there is away to copy formated text such as the
subscript '2' in say H2O from an addin to a blank worksheet or into a
userform. At the moment I have to format each cell with code which is a
pain as there are hundreds of characters to be formated and I have use
something like this for each character.

If j = 1 Then
Set ochars = Range("J10").Characters(2,1)
With ochars
.Font.Subscript = True
End With

Thanks
Brad

Reply
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
Text formated cells with numbers Hugh self taught New Users to Excel 3 August 18th 09 08:44 PM
Cell formated as text changes when copied jjk98 Excel Discussion (Misc queries) 5 May 22nd 07 01:15 PM
If Statement - With Formated text Larry L Excel Worksheet Functions 1 June 16th 06 03:00 PM
Copying a format that has been conditionally formated taloma715 Excel Discussion (Misc queries) 1 January 14th 06 03:07 PM
VB6 - ADO - Excel XP, cell formated as text [email protected] Excel Programming 0 September 15th 03 03:38 PM


All times are GMT +1. The time now is 05: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"