Converting a VBA Macro to C# 4.0 (+video)

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

Blogs.msdn.com, 2010. — 6 p.
"I've talked a lot about improved COM interop in C# 4.0 and how much easier it is now to work with Office applications. This time I want to share some tips and tricks on how you can convert Visual Basic for Applications (VBA) macros to C# 4.0 by using Office 2010 and Visual Studio 2010.
You can either watch a video: it’s the same scenario and the same code, only I tried a different medium this time.
One common scenario for people working on Office applications is to record a macro in Office and then use the results in their code. It's often much faster and easier than looking up all the methods and properties.
To try this out, record a macro in Excel 2010. . ."

Author(s): Rusina Alexandra.

Language: English
Commentary: 1679854
Tags: Информатика и вычислительная техника;Информатика (программирование);Программирование на BASIC / Visual Basic / VBA