BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Delphi6 Word 2000 Decimal Tabs

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.misc
View previous topic :: View next topic  
Author Message
n00bslayer@gmail.com
Guest





PostPosted: Mon Feb 07, 2005 7:23 pm    Post subject: Delphi6 Word 2000 Decimal Tabs Reply with quote



I'm trying to add (decimal) tabs at certain points (First one at
position x, 2nd at position xx) to a word document at runtime from
Delphi.
Basically, what i need is to add numbers underneath eachother (using
Delphi).
f.e.:
__3,50
_50,00
100,99

In Word this can be achieved by clicking on the Menu on "Formatting >
Tabs > Decimal Tab" or something similar
Does anyone know how to achieve this? or is there anyone who can give
me a website where i can find these reference?

Many thanks

Ps: should you need any clarification or more info, pls contact writer
at: [email]n00bslayer (AT) gmail (DOT) com[/email]

Thanks!

Back to top
Maarten Wiltink
Guest





PostPosted: Mon Feb 07, 2005 7:36 pm    Post subject: Re: Delphi6 Word 2000 Decimal Tabs Reply with quote



<n00bslayer (AT) gmail (DOT) com> wrote


Quote:
I'm trying to add (decimal) tabs at certain points (First one at
position x, 2nd at position xx) to a word document at runtime from
Delphi.
Basically, what i need is to add numbers underneath eachother (using
Delphi).
f.e.:
__3,50
_50,00
100,99

In Word this can be achieved by clicking on the Menu on "Formatting
Tabs > Decimal Tab" or something similar
Does anyone know how to achieve this? or is there anyone who can give
me a website where i can find these reference?

Connect to Word as an automation server from your program. Then call
VBA functions as you would in a macro. In fact, recording macros is
a very good trick to find out the names of the functions you can call.

Groetjes,
Maarten Wiltink



Back to top
Kyle
Guest





PostPosted: Tue Feb 08, 2005 4:00 am    Post subject: Re: Delphi6 Word 2000 Decimal Tabs Reply with quote



yes, Visual basic Editor is also really useful for apps in word.
(Tools>Macro>Visual Basic Editor)

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.misc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.