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 / January 2006

Tip: Looking for answers? Try searching our database.

Formatting

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Srini - 13 Jan 2006 21:39 GMT
All,
This question is simple but someone can help me out

i have a checkbox and a label, when user selects the checkbox,
the caption of the checkbox (aaaaaaaaaaaaaaaaaaaaa) and label caption
(abc...etc) should be printed in the document here label caption is
spread accross 4-5 lines, how i want to see in the document is

aaaaaaaaaaaaaaaaaaaaa (checkbox caption)
      abcccccccccccccccccccccccccccccccccccccccccccccc (label caption)
      abcccccccccccccccccccccccccccccccccccccccccccccc
      abcccccccccccccccccccccccccccccccccccccccccccccc

when i used vbtab control in the code (strbody = strbody + chkbox
caption + vbtab + label caption) the result is

aaaaaaaaaaaaaaaaaaaaa
    abccccccccccccccccccccccccccccccccccccccccccccccccc
abccccccccccccccccccccccccccccccccccccccccccccccccc
abccccccccccccccccccccccccccccccccccccccccccccccccc

Pls help.
Word Heretic - 17 Jan 2006 08:48 GMT
G'day "Srini" <sirumalla.srinivas@gmail.com>,

try using CR or LF instead of tab.

Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice

Srini reckoned:

>All,
>This question is simple but someone can help me out
[quoted text clipped - 18 lines]
>
>Pls help.
Srini - 17 Jan 2006 18:55 GMT
Steve,

It did not worked.

Thanks
Srini
Cindy M  -WordMVP- - 19 Jan 2006 17:23 GMT
Hi Srini,

It's a question of paragraph formatting. In this case (with vbtab), you
should define the paragraph format with a HANGING Indent. This will be a
combination of the FirstLineIndent and LeftIndent properties of the
Paragraph object.

Most efficient would be to define a style, then simply apply the style as
required.

> i have a checkbox and a label, when user selects the checkbox,
> the caption of the checkbox (aaaaaaaaaaaaaaaaaaaaa) and label caption
[quoted text clipped - 13 lines]
> abccccccccccccccccccccccccccccccccccccccccccccccccc
> abccccccccccccccccccccccccccccccccccccccccccccccccc

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)
 
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.