Improve company productivity with a Business Account.Sign Up

x
?
Solved

MS Word 2003 Basic + VS.Net 2002 + Vertical Text

Posted on 2004-09-01
3
Medium Priority
?
310 Views
Last Modified: 2010-04-23
I need to print an address onto envelope.  Catch is I have to have the text vertically print.  I've tried some items, but have been unsuccessfull.  The envelopes do not fit into the printers horizontally (with the flap on the top).  The envelope is (in points)    width 400 X height 684.  Any Suggestions?
0
Comment
Question by:computerg33k
3 Comments
 
LVL 1

Expert Comment

by:bng0005
ID: 11955688
If you have it printing out already and just need to change the direction of the text, would creating a table in Word and changing the direction of the text work? Right click on a table cell and you can change the text direction for a particular cell. Hope that helps.



Bryan
0
 
LVL 4

Author Comment

by:computerg33k
ID: 11956392
sorry--already got it
                        Dim r As Integer, c As Integer
                        Dim oTable As Word.Table
                        oTable = wrdDoc.Tables.Add(wrdDoc.Bookmarks.Item("\endofdoc").Range, 1, 1)
                        oTable.Range.ParagraphFormat.SpaceAfter = 6
                        oTable.Range.Bold = 1
                        For r = 1 To 1
                            For c = 1 To 1
                                oTable.Cell(1, 1).Range.Text = Trim(Client) & vbCr & Trim(CompAddress1) & vbCr & Trim(CompAddress2)
                                oTable.Cell(1, 1).VerticalAlignment = Word.WdCellVerticalAlignment.wdCellAlignVerticalCenter
                            Next
                        Next
                        oTable.Cell(1, 1).Column.Width = 144
                        oTable.Cell(1, 1).Row.Height = 218.25
                        oTable.Cell(1, 1).Range.Orientation = Word.WdTextOrientation.wdTextOrientationVerticalFarEast ' this line
                    End With
0
 

Accepted Solution

by:
ee_ai_construct earned 0 total points
ID: 11959048
Closed, 200 points refunded.
ee_ai_construct (replacement part #xm34)
Community Support Moderator
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

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.

Join & Write a Comment

Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
If you are looking for an automated solution for backup single or multiple Office 365 user mailboxes to Outlook data file, then you can use Kernel Office 365 Backup & Restore tool. Go through the video to check out the steps to backup single or mult…
To export Lotus Notes to Outlook PST or Exchange and Domino Server files to Exchange Server or PST files with ease, go for Kernel for Lotus Notes to Outlook conversion tool. Through the video, you can watch the conversion process. A common user with…

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question