 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
n00bslayer@gmail.com Guest
|
Posted: Mon Feb 07, 2005 7:23 pm Post subject: Delphi6 Word 2000 Decimal Tabs |
|
|
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
|
Posted: Mon Feb 07, 2005 7:36 pm Post subject: Re: Delphi6 Word 2000 Decimal Tabs |
|
|
<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
|
Posted: Tue Feb 08, 2005 4:00 am Post subject: Re: Delphi6 Word 2000 Decimal Tabs |
|
|
yes, Visual basic Editor is also really useful for apps in word.
(Tools>Macro>Visual Basic Editor)
|
|
| Back to top |
|
 |
|
|
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
|
|