Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Word
application.errors
conversions
docmanagement
drawing.graphics
formatting.longdocs
international
internet.assistant
mail
mailmerge.fields
menustoolbars
newusers
numbering
oleinterop
pagelayout
printingfonts
setup.networking
spelling.grammar
tables
vba.addins
vba.beginners
vba.customization
vba.general
vba.userforms
web.authoring
word6-7macros
word97vba
  
 
date: 7 Oct 2005 21:57:24 -0700,    group: microsoft.public.word.word97vba        back       


problem with formatting   
hi! how could i possibly temporarily store a text without losing its
formatting properties. I'm only getting a plain text. I am trying to
put to a variable a text with a superscript and when i am retrieving it
superscript become normal text..Hope someone could enlightened me..or
are there any methods that i should use inorder to retain the format of
my text?thanks
date: 7 Oct 2005 21:57:24 -0700   author:   unknown

Re: problem with formatting   
If all else fails, you could write it to a document using the .FormattedText 
property of the .Range object and then retrieve it from there.

-- 
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my 
services on a paid consulting basis.

Doug Robbins - Word MVP
 wrote in message 
news:1128747444.865262.286920@g14g2000cwa.googlegroups.com...
> hi! how could i possibly temporarily store a text without losing its
> formatting properties. I'm only getting a plain text. I am trying to
> put to a variable a text with a superscript and when i am retrieving it
> superscript become normal text..Hope someone could enlightened me..or
> are there any methods that i should use inorder to retain the format of
> my text?thanks
>
date: Sat, 8 Oct 2005 08:36:20 +0200   author:   Doug Robbins

Re: problem with formatting   
Thanks, additionally, this is what I want trying to do

1) get some selected text from a document for example the text is

  hello world

2) I stored it in a variable then retrieve it , echo it on the same
document but with the following text

<start>hello<mid>world<end>

It works well but if i tried to get a formatted text to be parsed,
formats were removed especially the superscripts/subscripts.
date: 8 Oct 2005 00:14:36 -0700   author:   unknown

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us