Click here to Skip to main content
15,887,267 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear all,

I am writing Excel macros for an application using Excel 2003.
I could see the code window supports only VB6 coding styles.

Is there any way to write the code in VB.NET within that Excel macro?
Please let me know if you have any suggestions.

Thanks & regards,
M. Gangadhar.
Posted
Updated 25-Aug-10 8:12am
v2

Yes.

Ish.

It uses VBA, which is VB.NET compliant.

You can write a VB.NET function, and call it from within the macro.
 
Share this answer
 
Hi,
Thanks for the reply.
Do you mean that we are writing a VB.Net library (.DLL) and referencing/calling the functions inside VBA macro?
Is there direct code editor window for VB.Net available for VBA macro - or any additional utilities to be installed?

With Thanks & Regards,
M. Gangadhar.
 
Share this answer
 
Comments
Dalek Dave 27-Aug-10 3:37am    
In strict order of asking...
Yes
No, only a VBA editor within Excel.
No utilities need to be installed.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900