Copy the formatted text from a table cell

I can put unformatted text into an array member, but the moment I put in superscripting and subscripting, the array destroys (or something destroys) the special formatting of characters. I am working with Visual Basic as found in Word 97.

Can someone please tell me how to preserve the formatting while putting all the text in an array. Thank you so very much.

jcherry_99@yahoo.com
jcherry_99Asked:
Who is Participating?
 
Richie_SimonettiIT OperationsCommented:
Well, i do not understand your question completely.
Try with pastespecial function and paste format too.
0
 
Richie_SimonettiIT OperationsCommented:
What is the type of array?
0
 
jcherry_99Author Commented:
Dear Richie:

I suspect that that is the key to the problem I am having.
I have not declared the array type but if I understand it correctly, it defaults to variant. I am a beginner and so do a lot of cutting and pasting from other people's code.

Anyway it is just ordinary text that has some formatting (superscripts and subscripts). How should I declare it?

To reinterate, I want to take formatted text in a cell and put that into an array. The array contents will be printed out later.

Jerome.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
Richie_SimonettiIT OperationsCommented:
did you try to declare as Byte?
0
 
Richie_SimonettiIT OperationsCommented:
There is another question, where do you paste/put/whatever the contents of array?
0
 
jcherry_99Author Commented:
I'm putting it on the same page, just further down. What to do once I have the array is not the problem.

Why byte?

I have a simpler problem. How do you select the beginng contents of a cell (and not the cell itself) without geting the framing of the cell box.
0
 
Richie_SimonettiIT OperationsCommented:
No more help after an "B" grade, sorry. :)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.