1

I really do not want to learn Visual Basic and would like to stick with C#. I want to create a MS access macro using C# instead of Visual Basic. Is this possible? How?

1
  • 1
    You can, but it is completely pointless. Horses for courses, old boy. Commented Apr 12, 2011 at 23:32

2 Answers 2

1

You should consider doing this the other way around. Use Visual Studio to create COM objects in C#, possibly even creating an Add-in for Access. You can do everything you would have done in the Macro, but with a much better development environment, unit tests automated builds, etc.

Sign up to request clarification or add additional context in comments.

Comments

1

Sure, through the COM object model: http://support.microsoft.com/kb/317114 and http://msdn.microsoft.com/en-us/library/ee861519.aspx should get you started.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.