Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / April 2006

Tip: Looking for answers? Try searching our database.

double line spacing

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
caz - 19 Apr 2006 11:08 GMT
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
Tony Jollans - 19 Apr 2006 12:02 GMT
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.

--
Enjoy,
Tony

> Hi people,
>
[quoted text clipped - 15 lines]
>
> caz
caz - 19 Apr 2006 12:23 GMT
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.
caz - 19 Apr 2006 12:29 GMT
Or trying to use bookmarks.
caz - 19 Apr 2006 13:08 GMT
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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.