Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   Outlk 2k3 script: Tab in body Task "space to separate text" (http://www.outlookbanter.com/outlook-vba/33155-outlk-2k3-script-tab-body.html)

news.microsoft.com November 17th 06 10:51 AM

Outlk 2k3 script: Tab in body Task "space to separate text"
 
Hi all,

I search without succes how to insert "TAB" to text

I use Space() String1 & space(50-len(string1)) & string2 to align
my text but the result don't match

in real the len of empty and filled string aren't the same

so the solution is to add a "tab" eg: if len of string1 15 add 2 tab
else add 1 tab

tks for help



Ken Slovak - [MVP - Outlook] November 17th 06 03:13 PM

Outlk 2k3 script: Tab in body Task "space to separate text"
 
A tab character would be vbTab.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"news.microsoft.com" wrote in message
...
Hi all,

I search without succes how to insert "TAB" to text

I use Space() String1 & space(50-len(string1)) & string2 to
align my text but the result don't match

in real the len of empty and filled string aren't the same

so the solution is to add a "tab" eg: if len of string1 15 add 2
tab else add 1 tab

tks for help




All times are GMT +1. The time now is 09:20 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com