Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Word
application.errors
conversions
docmanagement
drawing.graphics
formatting.longdocs
international
internet.assistant
mail
mailmerge.fields
menustoolbars
newusers
numbering
oleinterop
pagelayout
printingfonts
setup.networking
spelling.grammar
tables
vba.addins
vba.beginners
vba.customization
vba.general
vba.userforms
web.authoring
word6-7macros
word97vba
  
 
date: Fri, 27 Jan 2006 09:44:25 GMT,    group: microsoft.public.word.vba.customization        back       


appplication vb word and outlook   
I have a contract in word.document where i look for data to put into mail 
messages.

1. I need to select the amounts in euro
..   for example : total amount Euro: 1.450,23 valid for Europe only

    As i  am located on the selection.find "total amount euro: "  I use the 
selection.moveright
    but it's not really a good idea cause i dont know how much is the lenght 
of the value
    It can be 1.245,23 or only 45,00
    To use moveright unit:=word stops at the comma but i need also decimals

2. i use the script of a new ojbect olmailitem for sending message.
    I use htmlbody cause i need to write font.bold the value only
    for example: Total Amount:  45,00(bold)

   I am using htmlbody = ....  "<tr><td>Toatal Amount:</td>
                                                   <td><strong>45,00</strong></td></tr>" 
....
   How can i  use the data store for the 45,00 Euro?
   Any other idea to use this?

Tanks in advance
date: Fri, 27 Jan 2006 09:44:25 GMT   author:   MarcoPolo

Re: appplication vb word and outlook   
solved



"MarcoPolo"  ha scritto nel messaggio 
news:ZXlCf.64933$eD5.1082251@twister2.libero.it...
>I have a contract in word.document where i look for data to put into mail 
>messages.
>
> 1. I need to select the amounts in euro
> .   for example : total amount Euro: 1.450,23 valid for Europe only
>
>    As i  am located on the selection.find "total amount euro: "  I use the 
> selection.moveright
>    but it's not really a good idea cause i dont know how much is the 
> lenght of the value
>    It can be 1.245,23 or only 45,00
>    To use moveright unit:=word stops at the comma but i need also decimals
>
> 2. i use the script of a new ojbect olmailitem for sending message.
>    I use htmlbody cause i need to write font.bold the value only
>    for example: Total Amount:  45,00(bold)
>
>   I am using htmlbody = ....  "<tr><td>Toatal Amount:</td>
> 
> <td><strong>45,00</strong></td></tr>" ...
>   How can i  use the data store for the 45,00 Euro?
>   Any other idea to use this?
>
> Tanks in advance
>
>
>
date: Fri, 27 Jan 2006 15:42:56 GMT   author:   MarcoPolo

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us