Tuesday, July 25, 2006

MS Office Automation Example Code.

You can create example code for any automation task through Macros in MS Office, suppose that you are atumating MS Excel for reports generation process in C#. and you didn't find any example code for the activity you are going to perform.

So Create a Mcro in MS Excel and the Edit the Macro so Excel will open the Macro code in VS Macro IDE for and you can see the code generated by the Macro in VB6.

Using a little commen sense you can translate the generated code in C# or in VB.NET or any language you are using for automation the task.

No comments: