double line spacing

C

caz

Hi people,

I am creating a text editor in Word using VBA. I am having trouble with
a couple of aspects of VBA that I cannot find on the internet. My
questions are:-

1. Does anyone know how to type text into the document and it get
copied into a textbox, i can do tis with two textboxes by doing the
command below but cannot get it working with the document.

TextBox1.Text = TextBox2.Text

2. I have looked all over the internet but cannot find out how to make
double line spacing in a textbox in word, i set via word using
format>paragraphs, but it just doesnt affect the textbox.

Thanks for any help.

caz
 
T

Tony Jollans

Hi caz,

Given up on VBA Express, have you? You can't escape me, you know :)

I am still totally unclear on what you are really trying to achieve but the
answer to this question (1) is that it can't be done - well, technically it
can be but it is wholly impractical.

Question (2) - Assuming you are still talking about ActiveX textboxes I
don't believe it's possible, but would be happy to be contradicted.
 
C

caz

My ultimate goal is to create a simple language translator by using the
autocorrect feature. Once the text is typed it is changed in the
document but the autocorrection does not occur in the textbox. this
means the user could view the original text and the translated text. I
have done everything except for copying the text from the document to
the textbox.

trying to think is there a way if i can use bookmarks, or copy the text
into another document which has autocorrect turned off.

thanks.
 
C

caz

Just realised this cannot be done. so i have gone another route of
using 2 textboxes, but i need to allow 1 textbox to have autocorrect
on, anyone know how to do this?

caz
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top