I do exactly the same with macros - especially if I have to program in VBA (which is not very often)! - but I find that keeping one eye on the MSDN site is often useful, as is Deborah Pate's site:
http://www.djpate.freeserve.co.uk/AutoWord.htm not only for the insights Deborah gives but also for the useful links she has also provided. Steve -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] Behalf Of anomander1 Sent: 03 January 2008 15:59 To: [email protected] Subject: [delphi-en] Re: Accessing Word from Delphi [Code and what Word does wrong, or maybe me) when i want something done in Delphi, i first create a macro in VBA to know how i should do it in Delphi. Of course, when i program in VBA i do not create Macro's :) When creating the macro, VBA tells me that i need to use 1.5 for setting my bottom margin. That Delhi sees this as 1.5 points, that was unclear to me. Thanks for pointing this out to me guys. *************************************************************************** This e-mail and any files transmitted with it are confidential. If you are not the intended recipient, any reading, printing, storage, disclosure, copying or any other action taken in respect of this e-mail is prohibited and may be unlawful. If you are not the intended recipient, please notify the sender immediately by using the reply function and then permanently delete what you have received. Content of emails received by this Trust will be subject to disclosure under the Freedom of Information Act 2000, subject to the specified exemptions, including the Data Protection Act 1998 and Caldicott Guardian principles. This footnote also confirms that, unless otherwise stated, this email message has been swept by Sophos Anti-virus for the presence of computer viruses. ***************************************************************************

